← Starting Page

Getting Started

Required Setup

Optional Setup

Data Studio Overview

Dashboards

Performance

Creatives

Settings

Help

Understand your reports

Tips and Tricks

Attribution Models

Bayesian Statistics

User Journey Tracking

Understand your Metrics

Metrics Overview

Product Level Metrics

Target Metrics

Data Loading

Data Updates

Data Loading Issues

Data Discrepancies

Frequently Asked Questions

Releases & ChangeLog

← Required setup

<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:

  1. Enable tracking in your settings.
  2. Install the tracking script in your shop.
  3. Configure your consent mechanism to allow tracking.

These steps are explained in detail below. Step two may vary depending on the shop system you're using.

1. Enable tracking in the settings

First, open the sidebar and navigate to the Settings section. Under Tracking & Consent, click on "Edit."

Bildschirmfoto 2024-09-11 um 11.36.04.png

Next, click on "Enable tracking."

Bildschirmfoto 2024-09-11 um 11.39.54.png

2. Install the tracking script in your shop

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

Bildschirmfoto 2024-09-11 um 11.39.54.png

For Shopify, here’s the former way to set up conversion tracking on the checkout page:

  1. Go to your shop’s admin page (e.g. example.myshopify.com/admin).

  2. Go to SettingsCheckout and accountsOrder status page

  3. Add the following snippet to "Order status pageAdditional 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.

Shopware

If you use Shopware, there’s no need to place an additional script.

The tracking will happen automatically once your shop is connected.

Manual tracking code integration in Shopify / Liquid ****

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

Tracking script for non-Shopify sites

If you're running other websites (like a WordPress blog), you need to manually add the tracking snippet.

Tracking script for custom integrations

Hydrogen Integration

If your front end is built using Shopify’s Hydrogen framework, check the following documentation:

Hydrogen integration

Conversion script parameters

Conversion Script Parameters

3. Configure your consent mechanism

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.

Bildschirmfoto 2024-09-13 um 14.01.46.png


Did this article answer your question?