Skip to main content

Installing the AdCloudIQ Pixel via Google Tag Manager

Learn how to install and configure the AdCloudIQ Pixel in Google Tag Manager to track page views, button clicks, and form submissions across your website.

Updated today

Step 1: Log in to Google Tag Manager

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

  1. In the left sidebar, click Tags

  2. Click the New button to create a new tag.

Step 4: Configure the Tag

  1. Under Tag Configuration, select Custom HTML:

    1. Paste the AdCloudIQ code into the HTML field:

Step 5: Set the Trigger for the Tag

  1. Scroll down to Triggering

  2. Chose when you want the pixel to fire:

    1. To track page views, select Page View --> All Pages.

    2. 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.

  1. Click Triggering → + (New)

  2. Choose Page View

  3. 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.

  1. Click Triggering → + (New)

  2. Choose Trigger Type → Click – All Elements

  3. Select Some Clicks

  4. 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.

  1. Click Triggering → + (New)

  2. Choose Form Submission

  3. Select Some Forms

  4. 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.

  1. Click Triggering → + (New)

  2. Choose Custom Event

  3. 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).

Did this answer your question?