Overview
Google Tag Manager (GTM) is a free tool that makes it easy to manage marketing and analytics tags on your website or app — no code changes required.
To ensure accurate MNTN Pixel implementation, this article walks through the two ways you can integrate with GTM:
GTM Community Template Gallery: Uses a pre-built GTM template for a faster, streamlined setup.
Manual GTM Implementation: Involves manually configuring the pixel within GTM using custom code.
Refer to the section that matches your preferred installation method. If you need a hand, we’re here to help.
How To
Install pixels using the GTM Template Gallery
Install pixels using the GTM Template Gallery
The GTM Community Template Gallery is an open platform for sharing tag templates. Your team can easily add and customize tracking codes from the Gallery through your GTM workspace — no technical expertise required.
MNTN’s pixels are available in the Gallery for a seamless setup. Follow these steps to install them directly from GTM’s Template Gallery.
In MNTN:
Sign in to your MNTN account.
From the account dropdown in the top-right corner, select My Account.
In the left navigation pane, under MY ACCOUNT, click Pixel.
Under Pixel Setup > Step 1: Choose your preferred install method, find Google Tag Manager and click Installation guide.
The Install MNTN Pixels With GTM modal appears with Your Advertiser ID (AID).
Click Copy AID.
💡 Pro Tip: You'll need this AID to complete installation in GTM — be sure to keep it handy.
In GTM:
Sign in to your GTM account.
Add MNTN templates to your workspace:
From the left navigation panel, click Templates.
To the right of Tag Templates, click Search Gallery.
In the top-right corner, click the magnifying glass, and enter MNTN.
Select BOTH:
MNTN Conversation Pixel by MNTNdigital
MNTN Tracking Pixel by MNTNdigital
For EACH template, when the Template Details modal appears, click Add to workspace.
Review the required permissions, then click Add.
You'll now see both templates listed under Templates > Tag Templates.
Add the Tracking Pixel tag:
From the left navigation panel, click Tags.
To the right of Tags, click New.
In the top right corner, rename Untitled Tag to MNTN Tracking Pixel.
Click anywhere in the Tag Configuration box.
In the top-right corner, click the magnifying glass, and enter MNTN.
Select the MNTN Tracking Pixel template.
Under Advertiser ID (required), paste the AID you copied From MNTN.
Click anywhere in the Triggering box.
Under Choose a trigger, select All Pages.
Review your workspace changes for any errors, and click Save.
Add the Conversion Pixel tag:
From the left navigation panel, click Tags.
To the right of Tags, click New.
In the top-right corner, rename Untitled Tag to MNTN Conversion Pixel.
Click anywhere in the Tag Configuration box.
In the top-right corner, click the magnifying glass, and enter MNTN.
Select the MNTN Conversion Pixel template.
Under MNTN Advertiser ID (required), paste the AID you copied From MNTN.
To optionally pass Order ID and/or Order Amount, click the + next to the field you want to add.
A modal opens showing a list from which you can select an available variable.
Click anywhere in the Triggering box.
Under Choose a trigger, select the trigger that fits your desired conversion setup.
💡 Pro Tip: Think of triggers as a rules — if this happens, then do that (see our trigger section for more help).
Review your workspace changes for any errors, and click Save.
From the Workspace tab, click Submit.
Click Publish.
⚠️ Warning: Don’t skip this step. Your pixels won’t activate on your site until you publish your changes.
Follow the steps to verify your pixels.
Manually install pixels in GTM
Manually install pixels in GTM
Add the Tracking Pixel tag:
In MNTN
Sign in to your MNTN account.
From the account dropdown in the top-right corner, select My Account.
In the left navigation pane, under MY ACCOUNT, click Pixel.
Under Pixel Setup > Step 1: Choose your preferred install method, find Manual Installation and click Installation guide.
The MNTN Pixel Installation modal appears.
Under Tracking Pixel, click Copy.
💡 Pro Tip: You'll need this AID to complete installation in GTM — be sure to keep it handy.
In GTM
Sign in to your GTM account.
From the left navigation panel, click Tags.
To the right of Tags, click New.
In the top-right corner, rename Untitled Tag to MNTN Tracking Pixel.
Click anywhere in the Tag Configuration box.
The Choose tag type model appears.
Under Custom, select Custom HTML.
Under HTML, paste the Tracking Pixel code you copied from MNTN.
⚠️ Warning: Don't click anything else in this section.
Click anywhere in the Triggering box.
Under Choose a trigger, select All Pages.
Click Save.
Add the Conversion Pixel tag:
In MNTN
Sign in to your MNTN account.
From the account dropdown in the top-right corner, select My Account.
In the left navigation pane, under MY ACCOUNT, click Pixel.
Under Pixel Setup > Step 1: Choose your preferred install method, find Manual Installation and click Installation guide.
The MNTN Pixel Installation modal appears.
Under Conversion Pixel, click Copy.
In GTM
Sign in to your GTM account.
From the left navigation panel, click Tags.
To the right of Tags, click New.
In the top-right corner, rename Untitled Tag to MNTN Tracking Pixel.
Click anywhere in the Tag Configuration box.
The Choose tag type model appears.
Under Custom, select Custom HTML.
Under HTML, paste the Tracking Pixel code you copied from MNTN.
⚠️ Warning: Don't click anything else in this section.
Replace the placeholder variables in your tag with your GTM variables:
order_id="ORDER ID"
order_amt="ORDER AMOUNT"You can also add an optional Conversion Type:
conversion_type=""
📝 Note: Format your variables correctly:
Place each variable inside double curly brackets —
{{variable}}Remove the quotation marks
If you're unsure where to place variables or which ones to use, leave the tag as-is or reach out to Google Support for help.
Click anywhere in the Triggering box.
Select the trigger that fires only on your conversion page or for your specific conversion event.
Review your workspace changes for any errors, and click Save.
From the Workspace tab, click Submit.
Click Publish.
⚠️ Warning: Don’t skip this step. Your pixels won’t activate on your site until you publish your changes.
Follow the steps to verify your pixels.
Set triggers in GTM
Set triggers in GTM
GTM triggers are rules or conditions that determine when a tag fires. For example, you can set a trigger to fire when a specific page is viewed, a form is submitted, or a button is clicked.
For a full breakdown of trigger types and setup details, see Google’s official GTM Triggers Guide
Decide what actions to track
Common triggers for MNTN customers include:
Page Views — For general site tracking or specific pages (e.g., thank-you pages).
Fires a tag when a page (or all pages) loads. Use this to track visits across your site or conversion events when users reach a key page like a confirmation page after purchase.Trigger type:
Page View
Clicks — For tracking buttons or links.
Fires when users click specific links or buttons. Use this to track engagement with outbound links, CTAs, or key site interactions like Submit, Buy Now, or Website.Trigger types:
Click – All Elements,Click – Just Links
Form Submissions — For actions like newsletter sign-ups.
There are two main cases:The form submission redirects users to a confirmation or thank-you page.
The form submission stays on the same page and displays a confirmation message or pop-up.
Trigger types:
Form Submission,Element Visibility
Custom Events — For tracking unique interactions not handled by standard methods.
Often used for tracking form submissions when the form’s default behavior has been customized.Trigger type:
Custom Event
📘 Example: To track clicks on a button with the ID submit-button, create a Click trigger with the condition Click ID equals submit-button.
Test your triggers
Use Preview Mode in GTM to confirm that your triggers fire as expected before publishing.
Remove pixels from GTM
Remove pixels from GTM
If you’re transitioning to a different method of implementing the MNTN pixel, such as manual installation on your site, Shopify app, or another tag management system, you’ll need to remove the existing pixel from Google Tag Manager (GTM) and reset your pixel installation in MNTN.
⚠️ Warning: Keeping multiple pixel implementations can lead to duplicate tracking, inaccurate reporting, and data discrepancies.
This guide will walk you through the steps to properly uninstall the MNTN pixel from GTM to ensure clean and accurate performance tracking:
Log in to Google Tag Manager.
Visit Google Tag Manager and log in to your account.
Select the container associated with the website where the MNTN Pixel is currently installed.
Delete the MNTN Pixel tags.
In the GTM dashboard, navigate to the Tags section.
Search for tags named or labeled as "MNTN Pixel" or related identifiers (e.g., “MNTN Page View” or “MNTN Conversion”).
Delete the MNTN Pixel tags.
Click on the MNTN Pixel tag you want to remove.
Select Delete in the top-right corner of the tag editor.
Remove associated triggers (if applicable).
Preview and validate changes.
Use Preview Mode to confirm that no MNTN Pixel tags or related triggers remain active.
Publish your changes.
Quick Answers
What is the dataLayer?
What is the dataLayer?
The dataLayer is a JavaScript object that stores data about user interactions, making it accessible to GTM for tracking and tag triggering. For example, you can use the dataLayer to capture information such as:
Page views or form submissions
Order ID, total value, and product details
Custom events like button clicks
How does the dataLayer work?
How does the dataLayer work?
Data Collection: The
dataLayerstores information about user interactions on the website.Triggering Tags: GTM reads the data from the dataLayer and uses it to trigger tags based on conditions (e.g., firing a tag when a purchase is made).
Creating Variables: The
dataLayerdata can be stored in GTM variables (e.g., form IDs, user names, transaction values), which are then passed to analytics or advertising tools.
How to use the dataLayer:
Here’s an example of a dataLayer.push() used for tracking a form submission:
javascriptCopy codewindow.dataLayer = window.dataLayer || []; dataLayer.push({ 'event': 'formSubmission', 'formID': 'contactForm', 'userName': 'JohnDoe' });GTM uses this data to trigger tags and populate variables, ensuring accurate and dynamic tracking. In this example:
An event named
formSubmissionis pushed to thedataLayer, along with the form ID and user name.GTM can now use this event and data to trigger tags (such as tracking form completions).
Do I need to remove triggers to unpublish MNTN pixels?
Do I need to remove triggers to unpublish MNTN pixels?
No. Deleting the MNTN pixels will ensure that they do not fire; however, you can remove the associated trigger if it is not being used by another pixel tag.
Next Steps
Once your pixels are installed, visit this article to verify your installation:





















