GTM template with instructions video from Simo Ahava!

GTM template with instructions video from Simo Ahava!

Install website tracking with Google Tag Manager Template

Watch a video walkthrough: alt text{height=315 width=560} Prerequisites Tracklution account (create one at www.tracklution.com) Google Tag Manager account <section class="info box" If you are using this GTM template with a<strong &nbsp;Tracklution private server</strong , you should use your private server's subdomain as /path with the first party container's domain. This format is automatically provided in the installation instructions of each container in your private serve…

Watch a video walkthrough:

{height=315 width=560}

Prerequisites

  1. Open your Google Tag Manager (GTM) container.
  2. Go to the Templates section.
  3. Click Search Gallery under Tag Templates.
  4. Search for Tracklution.
  5. Select the official Tracklution tag template (look for the verified checkmark).
  6. Click Add to Workspace.

The template works like the standard script method, but with fewer manual errors and easier tag maintenance.

Step 2: Create a PageView Tag

  1. Go to the Tags section and click New.
  2. Choose the Tracklution tag type.
  3. In the Container ID field, paste your ID from the Tracklution installation instructions (Installation-tab) or from your container info (visible at the end of the dashboard):
    • Log in at tracklution.com
    • Go to Installation-tab
    • Copy the Container ID (looks like "LS-12345678-9")
    • Copy the Tracklution domain (looks like "tralut.myshop.com")
  4. Choose PageView as the event type.
  5. Add a trigger like All Pages or Initialization - All Pages.
  6. Name the tag clearly (e.g. Tracklution - PageView) and click Save.

The GTM template reads consent status automatically from the GTM data layer if you're using built-in Consent Mode. No extra configuration is needed. For manual consent integration, refer to the documentation on implementing Cookie Consent manually.

  1. Create a new tag using the Tracklution tag type.
  2. Paste your Container ID and Tracklution Domain
  3. Select the event name (e.g. CompleteRegistration)
  4. Optional: Add custom parameters. Custom parameters in your events let you send detailed, relevant data like user email, product ID, or plan type.
    • The key is the name of the parameter. It identifies what the data represents. For example: user_id, transaction_value, or product_name
    • The value is the data or variable that will be sent with the key. It can be:
      • A static value (e.g., 12345, "thank-you-page")
      • A GTM variable, such as {{Page URL}}, {{Click Text}}, or {{Custom JavaScript}}. It dynamically pulls the value at runtime when the tag fires.
    • What if I don't have data layer variables? (Nothing relevant pops up when I start typing {{). Please contact your Google Tag Manager administrator / web developer. Here's Google's article on how to create custom variables in GTM. https://support.google.com/tagmanager/topic/9125128
  5. Add a suitable trigger (e.g., button click, form submission).
  6. Name the tag and Save.

Step 4: Set DNS for First Party Data Collection

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).

Validate your setup

Example with GTM -> you can sometimes see tags firing in Preview, but no data seen in Tracklution's dashboard. This usually means that the tag fired, but the network request to your server failed -> common causes are CSP or network restrictions before first-party mode is configured.

Once you have installed all events, you can validate your installation with these instructions: Tracklution Dashboard: Event Validation & Debugging

Server-Side Tracking, First-Party Cookies and Conversion APIs for any website with easy installation. Simple yet powerful tracking tool for digital advertising.

Tracklution customer rating badgeTracklution customer rating badge

4.8+ Rating on G2 and Trustpilot

Helsinki

Simonkatu 6 A
00100 Helsinki, Finland

New York

307 W 38th St
NY 11105, United States

Meta partner badge
Google partner badge
Meta partner badge

© Tracklution Oy 2026. All rights reserved.