Skip to content

[GA4/Event] Add wallet_connect tracking for developer portal #702

@cshein45

Description

@cshein45

Summary

Add GA4 wallet_connect event to track when users connect their wallets on the Movement Network developer portal.

Steps to Reproduce

  1. Go to: https://www.movementnetwork.xyz/developer
  2. Click the "Connect Wallet" button
  3. Observe that no GA4 event is fired

Expected Behavior

  • A GA4 event wallet_connect should be sent
  • Event parameters:
    • user_address (wallet address)
    • wallet_type (MetaMask, WalletConnect, etc.)

Actual Behavior

  • No GA4 event is currently sent

Suggested Solution

  • Implement GA4 event call on wallet connection:
gtag('event', 'wallet_connect', {
  user_address: '0x123...',
  wallet_type: 'MetaMask'
});

[Movement Network Comprehensive Overview 27134bf7239f8075a2b2c2164c572962.md](https://github.com/user-attachments/files/24413352/Movement.Network.Comprehensive.Overview.27134bf7239f8075a2b2c2164c572962.md)
[Safari.pdf](https://github.com/user-attachments/files/24413353/Safari.pdf)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions