Installation
Install with Google Tag Manager Template

Tracklution <> GTM Template Installation Guide

Watch a video walkthrough:

Prerequisites

Basic process

Watch the video for more detailed step-by-step instructions.

Step 1: Install the Tracklution Template

  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.

Tag Template

The template works exactly 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:
  • Log in at tracklution.com

  • Go to Installation-tab

  • Copy the container ID from the script (without quotes), the Container ID looks like "LS-12345678-9"

    Container ID

  1. Choose PageView as the event type.

  2. Add a trigger like All Pages or Initialization - All Pages.

  3. Name the tag clearly (e.g. Tracklution - PageView) and click Save.

    PageView Tag

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.

Step 3: Implement other events

  1. Create a new tag using the Tracklution tag type.
  2. Paste your Container ID.
  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 {{)

To track parameters with their actual values, you need to have the proper variables in the GTM. Go to “Variables'' and check if you have the needed variables, such as email, currency, or purchase value. If not, you have to create them. For example, the variables might look like this:

GTM Data Layer Variable examples

How to create a custom variables in GTM: Read more (opens in a new tab)

  1. Add a suitable trigger (e.g., button click, form submission).

  2. Name the tag and Save.

    Event with Parameters