Adloop Documentation
  • README
  • I - Start your Adloop discovery!
    • Quick start
      • Keep an eye on my advertising data
      • Analyze my ads performances
      • Create a dashboard
      • Improve my reporting
      • Optimize my digital marketing campaigns
      • Keep an eye on my campaigns (without connecting to Adloop)
      • Understand my paths to conversion
    • Basic informations
      • 6 key functions of Adloop
      • Workspace and Sites
      • Users and Administrators
      • Overview of Data available in Adloop
  • II - Data Sources and Destinations
    • Data Sources page
    • Data Sources (Workflow)
      • API Data Sources
      • Custom data sources
      • Rakuten Affiliation Data Source
      • How to get my AT Internet/Piano Analytics tokens?
    • Metrics & dimensions per Data Source
      • Active Campaign metrics & dimensions
      • Adobe Analytics metrics & dimensions
      • Adloop Attribution metrics & dimensions
      • Affilae metrics & dimensions
      • AT Internet metrics & dimensions
      • Awin metrics & dimensions
      • Bing Search (Bing Ads) metrics & dimension
      • Bing Shopping (Bing Ads) metrics & dimensions
      • Criteo metrics & dimensions
      • Daisycon metrics & dimensions
      • Meta metrics & dimensions
      • Facebook Account organic metrics & dimensions
      • Facebook Post organic metrics & dimensions
      • Google Analytics metrics & dimensions
      • Google Campaign Manager metrics & dimensions
      • Google Discovery (Ads) metrics & dimensions
      • Google Display (Ads) metrics & dimensions
      • Google Search (Ads) metrics & dimensions
      • Google Perf Max (Ads) metrics & dimensions
      • Google Shopping (Ads) metrics & dimensions
      • Google Youtube (Ads) metrics & dimensions
      • Google Youtube organic metrics & dimensions
      • Instagram Account organic metrics & dimensions
      • Instagram Post organic metrics & dimensions
      • Linkedin Ads metrics & dimensions
      • NetAffiliation metrics & dimensions
      • Platform 161 metrics & dimensions
      • Pinterest metrics & dimensions
      • Pinterest organic metrics & dimensions
      • Rakuten Affiliation metrics & dimensions
      • RTB House metrics & dimensions
      • Snapchat Ads metrics & dimension
      • Spotify Ads metrics & dimensions
      • Tiktok Ads metrics & dimensions
      • TikTok organic metrics & dimensions
      • TikTok organic metrics & dimensions (Creator market place)
      • Tradedoubler metrics and dimensions
      • Twitter Ads metrics & dimensions
      • Twitter organic metrics & dimensions
      • Yahoo Search metrics & dimensions
      • Yahoo Display metrics & dimensions
      • Line metrics & dimensions
    • Data Quality
    • Data destinations (Exports or Notifications)
  • III - Adloop reports system 📈
    • Report template system
    • Step by step report creation
    • Saved reports
    • Reports saving & sharing system
    • Folder system
    • Screen items
      • Dimensions Picker
      • Metrics picker
      • Calendar
      • Filters
      • Comparison
    • Dashboard
    • Table reports
    • Chart reports
    • Cycle reports (Premium)
    • Channel affinity (Premium)
    • Transaction ID Report
    • Path Explorer (Premium)
    • Embed a report in an Iframe
  • IV - Smart data ⚡
    • Smart alerts - Budget
    • Smart alerts - Recap
    • Channel Insights
    • Advanced Alerts
    • Integrations
      • Google Chat Destination 🚶‍♂️🚶‍♀️
      • Slack Destination🚶‍♂️🚶‍♀️
      • Microsoft Teams Destination🚶‍♂️🚶‍♀️
      • Email Destination 🚶‍♂️🚶‍♀️
    • Real time notifications (premium) (depleted)
    • Anomalies and variations (WIP)
  • V - Exports Center 🚀
    • Export Destinations
      • Email destination
      • Google Analytics Destination
      • Google Data Studio Destination
      • Google Drive Destination 🚶‍♂️🚶‍♀️
      • Google Sheets Destination
      • FTP or sFTP Destination🚶‍♂️🚶‍♀️
    • Exports
  • VI - Data Management 📁
    • Dimensions
      • Dimensions in Adloop
      • Dimensions management page
      • Normalized dimensions
      • Conditional dimensions
    • Metrics
      • Metrics in Adloop
      • Metrics management page
      • Normalized metrics
      • Calculated metrics
      • Calculated metrics definition
    • Matching
      • Matching for API or custom sources
      • Organic sources
      • Unknown channels - How to create new channels?
    • Cookie consent auto-correction
  • VII - Adloop Tracking & Attribution
    • Post-View Mechanism
    • A. URL templates integration guide
      • 1. Search
        • a. Google Ads : URL templates for Search / Shopping / Display / Youtube campaigns
        • b. Bing Ads : URL templates for Search & Shopping Campaigns
      • 2. Social Ads Networks
        • a. Meta : URL templates for Facebook Ads Campaigns
        • b. Snapchat URL templates
        • c. TikTok URL templates
        • d. Twitter URL templates
        • e. LinkedIn Ads URL templates
        • f. Pinterest URL templates
      • 3. Ad Servers (Display & Video)
        • a. Google Campaign Manager : URL templates for Display Campaigns
        • b. Weborama URL templates
        • c. Hawk URL templates
        • d. AdForm URL templates
        • e. Xandr URL templates
        • f. Platform 161 URL templates
      • 4. Affiliate networks
        • a. Affilae URL Template
        • b. Awin URL Template
        • c. CJ (commission junction) affiliate URL Template
        • d. Effinity affiliate URL Template
        • e. Netaffiliation URL Template
        • f. Rakuten URL Template
        • g. TimeOne URL Template
        • h. Tradedoubler URL Template
        • i. Webgains URL Template
      • 5. Retargeting
        • a. RTB House : URL templates
        • b. Criteo : URL templates
    • B. Adloop script installation & checking
      • Pre-requisite for the Adloop script
      • Cookie consent set-up
      • Script installation on Commanders Act CAX
      • Script installation on GTM
      • Script installation without GTM
      • Checking that the script is triggered
      • Checking the data collection
    • C. Data-driven attribution model
    • D. Attribution KPI for marketing optimization
      • Attributed conversions & revenue
      • Useful clicks 1
  • VII - Our optimization process
    • Use Analytics & Attribution KPI
  • Tutorials 📽 & step by step guides 🚶‍♀️🚶‍♂️
    • Introduction 📽
    • Data sources 📽
    • Data Management📽
    • Reports 📽
    • Types of reports📽
    • Exports 📽
    • Notifications 📽
    • Attribution 📽
    • Cookie consent auto-correction 📽
  • FAQ
    • Data Sources
    • Reporting
    • Attribution
    • Smart Alerts
    • Data Destinations
    • Cookie Consent
    • Business Model
    • Tracking Templates
  • What is the difference between Platform and Attributed data?
  • What could be the reason for your unsuccessful data source connection?
  • Glossary
  • Use cases
    • Error 404
    • Destinations (Exports or Notifications)%
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. VII - Adloop Tracking & Attribution
  2. B. Adloop script installation & checking

Script installation on GTM

PreviousScript installation on Commanders Act CAXNextScript installation without GTM

Last updated 1 year ago

Was this helpful?

With Google Analytics UA

  • Go to the "Variables" section

  • Make sure the Container ID is listed under the Build-In Variables

    • If not, click “Configure”, search for Container ID under “Utilities” and enable it

  • Create "User defined variables" following this scheme:

    • Type of variable: Data layer variable

    • Name of the data layer variable: indicate the value you set up in your custom dimension on GA4 in the event parameter field (ex: adloop_click_1).

    • And give it an adloop related name

    • Repeat these operations for all custom dimensions created in GA

  • Open the configuration of the "Google Analytics settings" variable,

  • In "More Settings -> Custom Dimensions, click on "Add Custom Dimension"

  • Fill in the following information:

    • Index: XX (where "XX" is the index of the dimension created on GA)

    • Dimension value: {{adloop_click_XX}} (Use the brick to choose the previously created variable)

    • Repeat these operations for all variables created in GTM

  • Go to the "Tags" section and add a new tag of type "Custom HTML", with the name "Adloop tag".

  • Copy and paste the content provided on the Adloop interface into the "HTML" field of the tag

  • Save the tag without trigger

  • Open the configuration of the Google Analytics tag with the largest trigger ("All pages" or “Pageviews” for example).

  • In the advanced settings of this tag, in "Tag sequencing", check "Trigger a tag before Google Analytics is triggered" and choose the "Adloop tag" previously created

  • Check if the script is working without error in the preview mode (find our documentation [[here|Checking-that-the-script-is-triggered]]), then deploy the new version.

Google Analytics 4

  • Make sure the Container ID is listed under the Build-In Variables

    • If not, click “Configure”, search for Container ID under “Utilities” and enable it

  • Go to the "Variables" section

  • According to the custom dimensions created earlier, create "User defined variables" following this scheme:

    • First one:

    • Type of variable: Data layer variable

    • Name of the data layer variable name : adloop_click_1

    • Give the variable an Adloop related name

    • Second one:

    • Type of variable: Data layer variable

    • Name of the data layer variable: adloop_click_1_meta

    • Give the variable an Adloop related name

  • Open the configuration of the GA4 Configuration tag (type: Google Tag)

  • In "Fields to Set”, click on "Add Row"

  • Fill in the following information:

    • Field Name: adloop_click_1

    • Value: Use the brick to choose the previously created variable (the 1st one)

    • Add another filed: adloop_click_1_meta

    • Value: Use the brick to choose the previously created variable (the 2nd one)

  • Go to the "Tags" section and add a new tag of type "Custom HTML", with the name "Adloop tag"

  • Copy and paste the content provided on the Adloop interface into the "HTML" field of the tag

  • Save the tag without trigger

  • Open the GA4 Configuration tag (type: Google Tag) that was opened in a previous step

  • In the advanced settings of this tag, in "Tag sequencing", check "Trigger a tag before this tag is triggered" and choose the "Adloop tag" previously created

  • For your GA4 events (purchase, add to cart, view item etc.) set-up on GTM, add the Adloop event parameters & values :

adloop_click_1_meta and for the value select the second user defined variable you created previously using the brick button

  • Check that all your events (add to cart, purchase etc.) are triggered after the pageview is sent. Otherwise our script won’t be able to catch those events.

  • Deploy the new version

*

adloop_click_1 and for the value select the first user defined variable you created previously using the brick button

Note: the name of the value between {{ }} depends on how you named your user defined variable ; it might be different from the screenshot above.

image-20240222-100528.png