β Verify
Confirm your w3aSDK setup
Verifying Your w3aSDK Integration Before Deployment
Let's ensure your tracking setup is functioning flawlessly, before your Friday afternoon pull request π!
Setting Up Test Configuration
To verify the integration on your local environment, activate the test
flag in the w3aSDK.configure
API:
// index.js
import { w3aSDK } from "w3a";
w3aSDK.configure(
"<YOUR-SDK-KEY>",
{ test: true } /* pass the test flag into the configuration options */
);
Validating Your Integration
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! π
Last updated