While Shopify’s native integration allows both discount codes and affiliate links, Upfluence’s Agnostic Sales Tracking (AST) is used when you want to track sales without applying a discount.
If you're using Shopify and need to install AST, follow this guide for step-by-step setup.
Before you start
💡 We recommend upgrading to the latest Shopify Checkout Extensibility for better tracking capabilities.
🔹 Upfluence automatically assigns the correct values in the script to simplify setup.
Step 1: Generate your personal AST tracking script
Go to your Upfluence dashboard and navigate to the integration settings.
Click the Generate script button. Give your tracking script a name to identify your site for generating affiliate links in the future.
Set E-commerce platform as "Shopify"
Press Generate script to create your custom tracking script.
Copy the provided script.
Step 2: Install the script on your Shopify store
To enable you to install the scripts, go to the script installation section in your Shopify administrator interface. This section is located in Settings > Customer events
Click on "Add custom pixel" and start setting up your AST script.
Set up Customer privacy, for best tracking experience, select:
Permission: Not required
Data sale: Data collected does not qualify as data sale
Copy the code snippet provided and paste it into the code section to replace the default template on Shopify.
Go back to the top of the page and click on Connect to finish your set up.