GTM template with instructions video from Simo Ahava!
{height=315 width=560}
First, get started at www.tracklution.com by creating an account and providing your store URL. Tracklution will check if your site operates with Shopify, and if it does, it will suggest you install the Shopify App.
Voilá! You’re done with the installation!
You will now start seeing session data populating in real time in your Tracking Container within the “Processed Data” table. This allows you to easily verify that your setup is successful and that all desired events are being correctly recorded.
Setting up the DNS CNAME allows Tracklution to load scripts under your own domain, enabling the use of First Party Cookies. This improves data accuracy, ensures more reliable tracking, and helps you get the most out of your tracking setup. See instructions from here: First-Party Mode (DNS)
You can use Google Tag Manager simultaneously, you can do so by using our GTM Template or the Custom HTML tags.
Using GTM Template:
If you want to configure other events with GTM Template tags, follow the instructions on Step 4 in your container's installation instructions for GTM Template.
Using Custom HTML tags:
If you want to configure other events with cHTML tags, you need to install the Tracklution Main script without PageViews (found from the "Google Tag Manager (custom HTML)" installation instructions inside your container, in Step 1). To remove the PageView tracking from the main script, delete the highlighted row from the Main Tag script that you find from your installation instructions:
After this, you can use the custom HTML tags or Template tags in GTM to install the desired events (Note! PageViews are already installed with the Shopify App):
If your Shopify store uses Shopify Markets with multiple domains (for example, .fi, .de, and .com), and each market has its own ad accounts, the tracking should be kept separate. Create a separate Tracklution container for each market, then:
target parameter to each duplicate event and give the value your second container's ID (key).This ensures that events from each domain are correctly routed to the right Tracklution Domain ID and ad account.
If you want to track multiple stores in one container, read our article about cross-domain tracking from here: Cross-Domain Tracking
The standard Shopify customer events code can be edited and customised to match your use case by simply editing the code that you see in Step 1 of the installation instructions.
In some cases, such as when advertising health-related or other regulated products, you may want to prevent Tracklution from collecting or sending personally identifiable information (PII) or product details that could be considered sensitive by ad platforms like Meta. You can customize your installation to remove any fields you don’t want to collect by removing the collection of PII by editing your Customer Events script:
Below is an example of the default Purchase event tracking tag, followed by an edited version that removes all PII and product details.
Default script - (example only! the script contains an example valueLS-12345678-9that needs to be your unique Tracklution ID):
tlq('track', 'Purchase', {
target: 'LS-12345678-9',
url: event.context?.document?.location?.href,
currency: event.data?.checkout?.currencyCode,
value: event.data?.checkout?.totalPrice?.amount,
tax: event.data?.checkout?.totalTax?.amount,
shipping: event.data?.checkout?.shippingLine?.price?.amount,
items: lineItems,
});
const billingAddress = event.data?.checkout?.billingAddress;
tlq('set', 'ContactInfo', {
target: 'LS-12345678-9',
url: event.context?.document?.location?.href,
email: event.data?.checkout?.email,
phoneNumber: event.data?.checkout?.phone || billingAddress?.phone,
firstName: billingAddress?.firstName,
lastName: billingAddress?.lastName,
address: billingAddress?.address1,
postCode: billingAddress?.zip,
city: billingAddress?.city,
country: billingAddress?.country,
isFirstOrder: event.data?.checkout?.order?.customer?.isFirstOrder,
});
Edited PII-safe version (example only! the script contains an example valueLS-12345678-9that needs to be your unique Tracklution ID):
tlq('track', 'Purchase', {
target: 'LS-12345678-9',
url: event.context?.document?.location?.href,
currency: event.data?.checkout?.currencyCode,
value: event.data?.checkout?.totalPrice?.amount,
});
By default, Tracklution’s Shopify installation sends the variant ID as the product identifier, since it provides the most specific reference to the purchased product. If the variant ID is not available, Tracklution automatically falls back to the product ID. If you prefer to include both the product ID and variant ID (for example, to match your product feed structure), you can customise this through the Customer Events installation by editing the event structure.
Edit the script from this:
{
item_id: productVariant?.sku,
item_name: productVariant?.product?.title,
item_variant: productVariant?.title,
item_brand: productVariant?.product?.vendor,
sku: productVariant?.sku,
variant_id: productVariant?.id,
product_id: productVariant?.product?.id,
price: productVariant?.price?.amount,
currency: productVariant?.price?.currencyCode,
}
To this:
{
item_id: productVariant?.sku,
item_name: productVariant?.product?.title,
item_variant: productVariant?.title,
item_brand: productVariant?.product?.vendor,
sku: productVariant?.sku,
variant_id: productVariant?.product?.id,
product_id: productVariant?.product?.id,
price: productVariant?.price?.amount,
currency: productVariant?.price?.currencyCode,
}
Server Side Tracking
Google Ads Server Side Tracking
Facebook Server Side Tracking Connector
TikTok Server Side Tracking
Shopify Server Side Tracking
GA4 Server Side Tracking
LinkedIn Server Side Tracking
Snapchat Server Side Tracking
WooCommerce Server Side Tracking
WordPress Server Side Tracking
Pinterest Conversions API
Microsoft (Bing) Server Side Tracking
Stripe Conversion Tracking


4.8+ Rating on G2 and Trustpilot
Helsinki
Simonkatu 6 A
00100 Helsinki, Finland
New York
307 W 38th St
NY 11105, United States



© Tracklution Oy 2026. All rights reserved.
GTM template with instructions video from Simo Ahava!