Passing tags via URL parameters
If your app opens a page with a bik_tags query parameter, the tags will automatically flow into the event properties for the following events:
- Product Viewed
- Add to Cart
This is useful when you want to attribute product views and cart additions to specific campaigns, sources, or segments by tagging the URL.
How it works
Append the bik_tags query parameter to your page URL:
https://www.example.com/?bik_tags=mobile
When a customer visits this URL, any subsequent Product Viewed and Add to Cart events will include the tag value in their event properties.
Testing
To verify the integration:
- Open the tagged URL inside a webview (e.g.
https://www.example.com/?bik_tags=mobile) - Navigate to a product page and perform an add to cart action, making sure the customer is identified (logged in)
- Verify that the Product Viewed and Add to Cart events are ingested correctly with the tag value in the event properties