Basic Lightning Tag Implementation

  • updated 2 mths ago

This document provides information on how to implement Lightning Tag in its basic form. Throughout this page, there will be links to documentation detailing additional features and use-cases that can be deployed.

The basic version of Lightning Tag will:

  1. Execute data collection rules that you have configured in cooperation with your Lotame account representative.
  2. Deploy subscribed sync pixels.
  3. Deploy export beacons.
  <link rel="preconnect" href="https://tags.crwdcntrl.net">
  <link rel="preconnect" href="https://bcp.crwdcntrl.net">
  <link rel="preconnect" href="https://c.ltmsphrcl.net">
  <link rel="dns-prefetch" href="https://tags.crwdcntrl.net">
  <link rel="dns-prefetch" href="https://bcp.crwdcntrl.net">
  <link rel="dns-prefetch" href="https://c.ltmsphrcl.net">

    ! function() {
      var lotameClientId = '<lotameClientId>';
      var lotameTagInput = {
          data: {},
          config: {
            clientId: Number(lotameClientId)

      // Lotame initialization
      var lotameConfig = lotameTagInput.config || {};
      var namespace = window['lotame_' + lotameConfig.clientId] = {};
      namespace.config = lotameConfig;
      namespace.data = lotameTagInput.data || {};
      namespace.cmd = namespace.cmd || [];
    } ();

  <script async src="https://tags.crwdcntrl.net/lt/c/<lotameClientId>/lt.min.js"></script>
  • Before using this snippet, please replace the instances of <lotameClientId>with your Lotame client ID.
  • Lotame recommends loading the Lightning Tag directly on your page, in the <head> section. Lotame recommends against loading through a tag manager such as Google Tag Manager (GTM) if at all possible.

Additional functionality that can be added to Lightning Tag:

  1. Data Collection - sending 1st party data directly into the tag.
  2. Profile Extraction - retrieving the profile id and list of audiences.
  3. Consent API - passing consent signals into the Lotame Platform.

To see the full feature set that the Lotame Lightning Tag offers, including passing in your own data fields for rule matching purposes, visit the Detailed Reference Guide. Also check out the Lightning Tag FAQ for answers to common questions. If you need any other assistance, please reach out to Lotame by submitting a Support ticket form through this link.

Upvote Follow
  • 1 yr agoLast active
  • 4053Views
  • 1 Following
Log In