We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c7edf9 commit 37c1a7eCopy full SHA for 37c1a7e
javascript/tokenscript-viewer/src/integration/IframeEthereumProvider.ts
@@ -308,6 +308,12 @@ export class IFrameEthereumProvider implements ethers.Eip1193Provider {
308
'wallet_address': message.result?.[0],
309
'wallet_name': "iframe-provider"
310
});
311
+ if (message.result?.[0]){
312
+ window.gtag('event', 'wallet_connected', {
313
+ 'wallet_address': message.result?.[0],
314
+ 'wallet_name': "iframe-provider"
315
+ });
316
+ }
317
}
318
319
completer.resolve(message);
0 commit comments