Shopify Advanced
Set up Shopify Advanced conversion tracking with AnyTrack to track purchases, cart events, and revenue. Connect your store data to ad platforms for accurate attribution and ROAS optimization.
Client-Side Tracking Settings
ReminderClient-side tracking relates to website events that are tracked in the browser via the AnyTrack Tracking Tag. For example:
AddToCart, orInitiateCheckout, orFormSubmit.Client-side settings are located in the Property Settings > settings
When enabling client-side tracking you gain more control over the checkout data collection which lets you enrich your Tracking Tag via the server-side integration.
- URL parameter: This allows AnyTrack to pass and read unique tracking parameters through your funnel.
- Hidden parameters: AnyTrack passes a unique tracking parameter into the cart's standard hidden fields. This option guarantees maximum tracking accuracy.
RecommendedFor best results we recommend that both options be turned on.
Before you begin
- You have an AnyTrack account with a paid subscription
- You have a Shopify store connected to AnyTrack
- The AnyTrack Tracking Tag is installed on your website
Client-Side Tracking Events
- AnyTrack leverages client-side tracking events to capture product data.
- AnyTrack deduplicates these events with the server-side events.
- AnyTrack then sends the events through the Conversion API of your ads integrations.

AnyTrack default Client Side Tracking settings for Shopify
ReminderThe
Purchaseevent is disabled by default since server-side tracking is more reliable and provides richer data.
Troubleshooting
Tracking Not Working After Changing Shopify Theme
When you switch, change, or reinstall your Shopify theme, the theme code is rewritten, which removes the AnyTrack Tracking Tag. You can easily restore tracking by following these steps:
Reinstall the AnyTrack Tag
-
From your AnyTrack dashboard, navigate to the Property Settings section for your Shopify store and select the 'Tracking Script' tab.

Find the AnyTrack Tag in the Property Settings Section
-
Click on the tag to copy it to your clipboard.
-
From your Shopify dashboard, navigate to 'Online Store', click on the three dots button, and select 'Edit Code'.
-
In the 'Layout' folder, select the 'theme.liquid' file.
-
Paste the AnyTrack Tracking Tag before the closing
</head>tag. -
Save your changes.

Paste the AnyTrack Tag in the head of the theme.liquid file.
Validation
Use the AnyTrack Pixel Helper Chrome extension to verify if the AnyTrack Tracking Tag is now correctly detected on your Shopify store.
Updated 9 days ago
