Getting Started
Data Studio Overview
Understand your Reports
Understand your Metrics
Data Loading
Other
<aside> 💡 Written by Marina Koch, last updated on 30th of October 2024
</aside>
<aside> 🎓
What you will learn in this article:
To use multi-touch attribution models (in addition to Last Click attribution), you need to set up tracking. There are three key steps you need to follow to ensure reliable tracking:
These steps are explained in detail below. Step two may vary depending on the shop system you're using.
First, open the sidebar and navigate to the Settings section. Under Tracking, click on "Enable Tracking."
How you install the tracking script depends on your shop system.
If you're using Shopify, follow the steps in **this article.**
For Shopify, here’s the former way to set up tracking on the checkout page:
Go to your shop’s admin page (e.g. example.myshopify.com/admin
).
Go to Settings → Checkout and accounts → Order status page
Add the following snippet to "Order status page → Additional scripts":
<script id="js-app-admq-data" type="application/json">
{
"sid": "{{ shop.id }}",
"oid": "{{ checkout.order_id }}",
"cid": "{{ customer.id }}",
"on": "{{ checkout.order_name }}"
}
</script>
<script id="js-app-admq-script"
src="<https://shopify.admetrics.events/conversion-v1.min.js>"
></script>
<aside> ⚠️ Make sure to place the snippet outside any existing tags in your “Additional scripts” section.
</aside>
For other shop systems, please refer to the details below.
If you use Shopware, there’s no need to place an additional script.
The tracking will happen automatically once your shop is connected.
In rare cases, you might need to manually install the tracking script. If your theme.liquid
file can't be updated automatically, add the snippet to your main layout file to ensure tracking works across all pages. You can find the documentation for manual tracking code integration here.
If you're running other websites (like a WordPress blog), you need to manually add the tracking snippet. You can find the Tracking script for custom integrations here.
If your front end is built using Shopify’s Hydrogen framework, check the documentation here.
You can find the documentation for the Conversion script parameters here.
If you want to always track all visitors to your website, select None. However, be aware that this approach is not GDPR-compliant, at least in Germany.
Otherwise, you’ll need to decide between using Shopify’s native banner or configuring a custom one to track only users who consent.
Click “Save” to submit your changes.
Custom Pixel for Shopify Checkout Extensibility
Tracking script for custom integrations