Shopify has retired the Additional Scripts section on the Thank you and Order status pages (August 28, 2025 for Shopify Plus stores and August 26, 2026 for all other stores). Tracking scripts placed there no longer run, so conversion tracking must now use Shopify Customer Events (pixels).
Recommended: For most Shopify stores, the easiest way to track Aspire link sales is the Aspire Affiliates App with Link Tracking turned on. It uses a Shopify App Pixel, so no Google Tag Manager or custom code is needed. See How to Install the Aspire Affiliates App. Use the Google Tag Manager setup below only if your team already manages tracking in GTM or cannot use the Aspire Affiliates App.
If you use Google Tag Manager, this article walks you through sending Shopify checkout events from a Custom Pixel to GTM, and from GTM to Aspire's sales tracking (TUNE) tags.
Part 1: Set up a Custom Pixel for Google Tag Manager
In your Google Tag Manager account, click on your Google container ID near the top right of the page to open the installation code snippet.
Copy the code block that belongs in the <head> section of the page.
Navigate to your Shopify admin and select Settings > Customer events > Add custom pixel.
Paste the Google Tag Manager code snippet you copied in Step 2 into the code editor. Important: Remove all HTML tags from the code block. For example, <script></script>.
Next, you will need to add code to subscribe to customer events and push them to GTM’s dataLayer. By default, Shopify offers a set of standard events that can be found here.
Below is an example of subscribing to the standard “checkout_completed” event, which will push information to GTM whenever a visitor completes a purchase at your store.
analytics.subscribe("checkout_completed", (event) => {
window.dataLayer.push({
event: "checkout_completed",
order_id: event.data.checkout.order.id,
price: event.data.checkout.subtotalPrice.amount
});
});
Part 2: Configure Google Tag Manager to accept events
After creating your custom pixel, you'll need to configure Google Tag Manager to receive events from it and then forward them to Aspire via TUNE. To accomplish this, you will need to set up a tag, a trigger, and dataLayer variables in Google Tag Manager.
Go back to Google Tag Manager and click Triggers, then click New to create a new trigger.
Set up the Google Tag Manager trigger as a Custom Event with the same event name as your Custom Pixel. In our example, this would be "checkout_completed". Set the trigger to fire on All Custom Events. Click Save.
From your GTM workspace, click Variables, then click New next to User-Defined Variables.
Create GTM variables to capture the data fields from the event. In our example, these are order_id and price. The fields are mapped to a dataLayer variable in Google Tag Manager.
Part 3: Configure Google Tag Manager to send events to TUNE
Lastly, you need to add a TUNE click tag and a TUNE conversion tag that uses the trigger you just created. Please refer to this step-by-step guide to set up your two TUNE tags.
Under Conversion Parameters, you will add the dataLayer variables for order_id and price.
Parameter 1:
amount→ Use the dataLayer variable forprice.Parameter 2:
adv_unique1→ Use the dataLayer variable fororder_id.
Each time the conversion tag fires, it will capture these dataLayer variables and send the event information to Aspire via TUNE.
Part 4: Test your setup
Before your campaign goes live, place a test order to confirm Aspire receives the conversion:
Open a creator's Aspire link in a private (incognito) browser window. Accept the cookie banner if one appears.
Add an item to the cart and complete checkout without entering a creator promo code, so only the link can receive credit.
In Google Tag Manager, use Preview mode to confirm the checkout_completed trigger fired and the TUNE conversion tag sent the order_id and price values.
In Aspire, open the offer and check that a conversion with the test order number appears for the creator. It can take a few minutes to show.
Note on Shop Pay: Shopify does not run pixels on the shop.app checkout page, and orders placed inside the Shop mobile app are not tracked. If your store offers Shop Pay, include a Shop Pay checkout in your testing.
If you have any questions about this setup process, please reach out to our Support Team at [email protected].









