1. Test a clean visit
Open a private window and visit a page with test campaign parameters:pageview and confirm:
- The URL and path match the page you opened.
utm_sourceisdocs_test.utm_mediumispaid.utm_campaignissetup_check.- An anonymous or visitor ID is present.
2. Test identity
If users sign in, complete a sign-in in the same private window. Your application should identify the customer with a stable ID from your database.$identify appears in Events and the customer appears in Users. The earlier anonymous visit should remain part of that customer’s journey.
3. Test a product event
Trigger one action that matters to your funnel:4. Test revenue
After connecting a revenue source, use its sandbox or test flow when supported. Confirm the purchase or subscription appears with a transaction ID, amount, currency, customer identifier, and source. Then open the customer in Users. The landing visit, identity event, product event, and revenue event should form one journey.If an event is missing
Check in this order:- The change was published to the URL you tested.
- The page contains one Datalyr install, not zero or two.
- The workspace ID matches Settings → Install.
- Analytics consent was granted, if your site requires it.
- The test browser is not blocking the request.
- The browser console has no Datalyr initialization error.
data-debug="true" after testing.
If the event exists but attribution is missing
Start a new private session with the test URL. Check that redirects preserve the query string and that no landing-page script removes campaign parameters before Datalyr loads. For cross-domain journeys, configure the domains before testing.You are ready when the page view, campaign fields, identity, key product event, and test revenue all appear on the expected customer journey.