Appearance
Shopify App: Behavioral Tracking
Activating the UI Components will automatically activate Behavioral Tracking for your website. Tracking is the heart and soul of Relewise personalization, and ensures that your users experience the best and most relevant search and recommendation results while using your website.
Tracking events
The following tracking events are automatically included when installing the app:
- Product views
- Content views
- Products in cart
- Product category (collection) views
- Email newsletter clicks, see Collect Email Newsletter User IDs
Market Pricing and tracking
With Market Pricing, cart tracking automatically uses the shopper's selected Shopify country and active currency, for example EUR-NL. A change in this pricing context causes the app to track the cart again, even when its items are unchanged.
Orders are tracked through Shopify webhooks. The country used for the order's currency key is selected in this order:
- The order's shipping country.
- The storefront country saved by the app in the cart attribute
relewise_country_code. - If neither is available, the order is tracked with its currency only, such as
EUR.
The key uses the order's actual presentment currency. The shipping country takes priority because Shopify can change prices during checkout. The saved storefront country reflects the last cart synchronization and can be missing or differ from the country selected in checkout.
User IDs
The tracked user ID can be one of:
- A temporary user, provided by your consent provider
- An authenticated ID, using the Shopify Customer object
{{ customer.id }}, when the option is enabled (default) - An anonymous user, if the user hasn't consented to marketing, and isn't logged in