setWalletAnalyticsEnabled

Enable or disable Wallet Analytics

Example

import { setWalletAnalyticsEnabled } from "@thirdweb/wallets";
setWalletAnalyticsEnabled(false);

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, The Wallet Analytics is enabled

You can check if it is enabled or not by calling isWalletAnalyticsEnabled()

import { isWalletAnalyticsEnabled } from "@thirdweb/wallets";
const isAnalyticsEnabled = isWalletAnalyticsEnabled();
function setWalletAnalyticsEnabled(enabled: boolean): void;

Parameters

Type

let enabled: boolean;

Returns

let returnType: void;