The Loop Tag is a JavaScript tracking code that allows you to collect first party data straight from your website. Setting up this tag allows you to:
Identify users who browse your website.
Sync users with media buying platforms to export audiences via the DMP.
Enable integration with ad servers on your site.
**Count and segment users** who visited your site based on declared rules in Loop.
Get demographic and behavioral insights about your users thanks to Loop's data enrichment
Recommended Method: Installing the Loop Tag via Google Tag Manager (GTM)
The recommended way to implement the Loop Tag is through Google Tag Manager (GTM). This method is simpler, less error-prone, and easier to maintain.
Step 1: Retrieve the Loop Tag from the Platform
Navigate to Sources in the Loop platform.
Click Create New and select JavaScript Tag.
Enter a name and description to identify this tag in the future.
Loop will generate a JavaScript snippet that you can copy and use where required.
Snippet to integrate the Loop tag
Step 2: Install Using Google Tag Manager
Log into Google Tag Manager and open your workspace.
Click on Tags, then click New.
Click Tag Configuration and select Custom HTML.
Paste the Loop Tag script copied from the Loop platform into the HTML field.
Step 3: Configure Triggering
While creating the tag, click Triggering.
Select the expected trigger:
To track visits across the entire site, choose All Pages (recommended default trigger in GTM).
To track specific pages, configure a Custom Trigger.
Give the tag a meaningful name and click Save.
Step 4: Publish Changes in Google Tag Manager
Click Submit and then Publish to save and set live the changes to your GTM workspace.
Add a version name or description (optional) and confirm the update.
Once submitted, the Loop Tag will be live on your website.
For detailed instructions on creating a Custom HTML Tag in GTM, refer to Google's official documentation
Alternative Method (Not Recommended): Manual Installation
If you prefer not to use GTM, the Loop Tag can be manually placed on your website. However, this method is error-prone and harder to maintain, so we strongly recommend using GTM instead.
⚠ Potential Issues with Manual Installation:
Any errors in placement may cause the tag not to fire correctly.
Updating the tag requires modifying every page manually.
Increased risk of incorrect implementation, affecting data accuracy.
Steps for Manual Installation
Copy the Loop Tag code provided by Loop.
Open your website’s HTML files.
Paste the code as high as possible between the
<head>and</head>tags on every page where you want tracking.Save and upload the updated files to your server.
What Data Does the Loop Tag Collect?
Once implemented, the Loop Tag automatically collects the following data on each visit:
Timestamp
Timezone and local time
Screen size and resolution
IP address
Browser data
Default language
Type (Chrome, Safari, etc)
Version
Referrer URL
Current URL metadata
URL
Title
Meta description
How to Verify the Installation
After implementing the Loop Tag, you can confirm that it is collecting data as explained here.










