Verify
Confirm your w3aSDK setup
Last updated
Confirm your w3aSDK setup
Last updated
Verifying Your w3aSDK Integration Before Deployment
Let's ensure your tracking setup is functioning flawlessly, before your Friday afternoon pull request 😉!
To verify the integration on your local environment, activate the test
flag in the w3aSDK.configure
API:
Console Verification: Launch the JavaScript console in your browser. Look for logs prefixed with [W3A]
. The output should resemble the provided screenshot.
Event Tracking: Here are the events you might observe in the logs:
FIRST_VISIT: Marks the user's inaugural website visit ✅
SESSION_START: Denotes the commencement of the user's session ✅
PAGE_VIEW: Logs a tracked page view ✅
WALLET_CONNECT: Records a wallet connection ✅
NFT_VIEW: Captures an NFT view ✅
TOKEN_VIEW: Chronicles a token view ✅
If everything aligns with the above, you're in the clear! Deactivate the test
flag, and you're set to deploy to production. Onward and upward! 🚀