+ Formo + Turnkey Integration +
++ This example demonstrates how to integrate{" "} + + Formo Analytics SDK + {" "} + with{" "} + + Turnkey + {" "} + embedded wallets for web3 analytics. +
++ Connect Wallet +
++ Authenticate with Turnkey using passkeys to access your embedded + wallet. Formo will automatically track wallet events via wagmi. +
+ + {authError && ( +{authError}
++ Wallet Status +
+ {isConnected ? ( ++ {address} +
++ {turnkeyUser.userId} +
+No wallet connected
+ )} ++ Manual Analytics +
++ Manually trigger Formo events. Wallet events are auto-tracked. +
+Event sent!
+ )} ++ Wallet Actions +
++ These actions are automatically tracked by Formo via wagmi + integration. +
++ Note: Transaction sends 0 ETH to yourself for demo purposes. +
++ Auto-tracked Events +
++ The following events are automatically captured by Formo when using + the wagmi integration: +
++ Wallet Connect +
++ When a user connects their wallet +
++ Wallet Disconnect +
++ When a user disconnects their wallet +
++ Chain Change +
++ When the user switches networks +
++ Signature Request +
++ When user signs a message +
+Transaction
++ When user sends a transaction +
+Page View
++ Automatic page hit tracking +
+