Step 1: Log in to Google Tag Manager
Go to https://tagmanager.google.com/ and sign in to your account.
Step 2: Select the Container
Choose the container associated with the website where you want to install the AdCloudIQ pixel
Step 3: Create a New Tag
In the left sidebar, click Tags
Click the New button to create a new tag.
Step 4: Configure the Tag
Under Tag Configuration, select Custom HTML:
Paste the AdCloudIQ code into the HTML field:
Step 5: Set the Trigger for the Tag
Scroll down to Triggering
Chose when you want the pixel to fire:
To track page views, select Page View --> All Pages.
To track specific actions or clicks, create a Click Event trigger, that matches your desired button or link.
Option 1: Page View — Track All Page Loads
Use this when you want the pixel to fire every time a page loads.
Click Triggering → + (New)
Choose Page View
Select All Page Views
✅ Recommended for: sitewide page tracking (fires on every page load)
Option 2: Click Event — Track Button or Link Clicks
Use this if you want to track when a visitor clicks a specific button or link.
Click Triggering → + (New)
Choose Trigger Type → Click – All Elements
Select Some Clicks
Under conditions, choose:
Variable:
Operator: matches CSS selector
Value:
a.fl-button[href*="contact"]
💡 Example: To track the “Start Planning” button, use
a.fl-button[href*="contact"] as the selector.
Adjust the selector based on your site’s HTML (for example, .cta-button, #start_planning, etc.).
Option 3: Form Submission — Track When a Form Is Submitted
Use this if you want to capture leads or contact-form completions.
Click Triggering → + (New)
Choose Form Submission
Select Some Forms
Set conditions such as:
Variable: or
Operator: contains
Value: a unique identifier for your form (for example,
contact-form)
💡 Test in Preview Mode to ensure GTM recognizes the form submission event.
Option 4: Custom Event — Track Events Triggered by Scripts
If your site uses JavaScript to push custom events to the dataLayer, you can trigger the pixel on those events.
Click Triggering → + (New)
Choose Custom Event
Enter the event name (for example,
formSubmitSuccess,videoPlay, etc.)
💡 Developers can push events to the dataLayer like this:
dataLayer.push({ event: 'formSubmitSuccess' });
Best Practices
Always test in GTM Preview Mode before publishing.
Make sure each trigger fires only once per action.
Use clear, consistent naming for triggers (e.g.,
AdCloudIQ – Page View,AdCloudIQ – Start Planning Click,AdCloudIQ – Form Submit).