Getting Started
Data Studio Overview
Understand your reports
Understand your Metrics
Data Loading
<aside> 💡 Written by Marina Koch, last updated on 14th of October 2024
</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 conversion 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 & Consent, click on "Edit."
Next, 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:
Custom Pixel for Shopify Checkout Extensibility
For Shopify, here’s the former way to set up conversion 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.
Manual tracking code integration
If you're running other websites (like a WordPress blog), you need to manually add the tracking snippet.
Tracking script for custom integrations
If your front end is built using Shopify’s Hydrogen framework, check the following documentation:
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.
Did this article answer your question?