isWalletAnalyticsEnabled

Check if Wallet Analytics is enabled or not

Example

import { isWalletAnalyticsEnabled } from "@thirdweb/wallets";
const isAnalyticsEnabled = isWalletAnalyticsEnabled();

The Wallet analytics can be used to track:

  • Total and Unique users

  • Users connected over time

  • Type of wallets connected

  • Distribution of wallets connected

You can view these Analytics in the ThirdWeb Wallet Analytics dashboard

By default it is enabled. You can disable it by calling setWalletAnalyticsEnabled(false)

import { setWalletAnalyticsEnabled } from "@thirdweb/wallets";
setWalletAnalyticsEnabled(false);
function isWalletAnalyticsEnabled(): boolean;

Returns

let returnType: boolean;