How to Set Up Google Tag Manager (GTM) on Pixelesq

Quick Answer

Go to Settings → Website → Analytics, paste your GTM container ID (starts with GTM-) into the Google Tag Manager Property ID field, and click Update. Publish your site and GTM is live across every page.

When to Use GTM vs Native Integrations

Pixelesq has native integrations for Google Analytics 4 and Meta Pixel. If those are the only tracking tools you need, use the native integrations. They are simpler and avoid the common mistake of double-counting events.

Use Google Tag Manager when you need:

  • More than just GA4 and Meta Pixel (LinkedIn Insight Tag, TikTok Pixel, Pinterest Tag, Reddit Pixel, Microsoft Clarity, etc.)

  • Custom event tracking beyond page views (form submissions, button clicks, video plays)

  • Conversion tracking for multiple ad platforms

  • A/B testing tools or heatmaps managed centrally

  • A tagging setup your marketing team already maintains in GTM

GTM shines when you want one place to manage every script. For simple sites, GTM is overkill.

What You Need

  • A Pixelesq project (any plan)

  • A Google Tag Manager account with a container created for your website

  • Your GTM container ID (format: GTM-XXXXXXX)

Step 1: Get Your GTM Container ID

Log in to Google Tag Manager. At the top of the dashboard, you will see your container ID next to the workspace name. It looks like GTM-A1B2C3.

Copy it. If you have multiple containers, make sure you grab the one for the site you are connecting.

If you have not created a container yet, click Create Account in GTM, name your account and container, select Web as the target platform, and accept the terms.

[Screenshot: GTM dashboard with container ID visible]

Step 2: Open Analytics Settings in Pixelesq

In your Pixelesq dashboard, click Settings in the sidebar, select the Website tab, then click the Analytics subtab.

You will see three integration cards: Google Analytics, Google Tag Manager, and Meta Pixel. Each has its own field.

[Screenshot: Analytics subtab with the three integration cards]

Step 3: Paste Your GTM Container ID

Find the Google Tag Manager card. Paste your container ID (GTM-XXXXXXX) into the Property ID field. Click Update.

A green Active badge appears on the card, confirming GTM is connected. The GTM script is automatically injected into the head of every published page on your site.

With AI: You can also ask the Pixel Agent: "Connect Google Tag Manager with container GTM-XXXXXXX" and it sets it up for you.

[Screenshot: GTM card with container ID pasted and Active badge]

Step 4: Configure Your Tags in GTM

Pixelesq handles injection of GTM into your site. Everything else happens inside GTM itself. Head back to tagmanager.google.com to add tags, triggers, and variables.

Common tags to add in GTM after connecting:

  • Google Analytics 4 Configuration tag (only if you did not use Pixelesq's native GA4 integration, see the warning below)

  • LinkedIn Insight Tag for B2B conversion tracking

  • Microsoft Advertising UET Tag

  • TikTok Pixel for TikTok ad conversion

  • Hotjar or Microsoft Clarity for heatmaps

After adding tags in GTM, click Submit in the top right and publish the GTM workspace. Tags go live across your Pixelesq site immediately.

Step 5: Verify GTM Is Firing

Use Google's Tag Assistant to confirm GTM is loading. Enter your site URL, click Connect, and Tag Assistant will show every tag that fires, including the GTM container itself.

You can also use GTM's built-in preview mode. In GTM, click Preview, enter your site URL, and GTM will show you a live debugger of tag firing on your actual site.

[Screenshot: Tag Assistant showing GTM container firing]

The GTM + GA4 Double-Counting Trap

This is the most common mistake marketers make when combining Pixelesq's native integrations with GTM.

Wrong setup:

  • Pixelesq Analytics tab: GA4 ID G-ABC123 pasted

  • GTM container: a GA4 Configuration tag also pointing at G-ABC123

Result: every page view is counted twice in GA4. Your analytics show inflated numbers that make every trend look worse or better than reality, and you cannot trust the data.

Correct setups (pick one):

  1. Native GA4 + GTM for other tags: Put your GA4 ID in Pixelesq's Analytics tab. Use GTM only for non-GA4 tags (LinkedIn, TikTok, Hotjar, etc.).

  2. GTM for everything: Leave Pixelesq's GA4 field empty. Add GA4 through GTM as a Configuration tag. Manage everything from GTM.

Never do both. Pick one approach and stick with it.

Pro Tips

  • Use GTM workspaces for safe changes. GTM supports workspaces and version history. Never edit the live workspace directly for important changes. Create a workspace, test it in preview mode, then submit and publish.

  • Set up conversion tracking for your primary CTA. If your site has a "Book a Demo" button, add a click trigger in GTM and fire a conversion tag for each click. This is gold for paid marketing attribution.

  • Avoid adding GTM and then forgetting about it. GTM is a tool, not a setup-and-done integration. Review your tags quarterly to remove unused ones. Dead tags slow down your site.

  • GTM has a free tier that covers most needs. You do not need GTM 360 (the paid version) for typical marketing use cases. Free GTM supports unlimited tags, triggers, and variables.

  • Test in incognito before publishing changes. GTM's preview mode is great, but always do a final test in a clean incognito window to confirm tags load without cached state.

Troubleshooting

GTM tags are not firing on my published site: First confirm the container ID in Pixelesq matches the container you are editing in GTM. It is common to have multiple GTM containers and accidentally edit the wrong one. Also make sure you clicked Submit and published the workspace in GTM after adding tags.

Active badge shows in Pixelesq but GTM is not loading: Publish or re-publish your Pixelesq pages. The GTM script is only injected on published pages, not drafts. Then hard refresh your live site (Cmd+Shift+R or Ctrl+F5).

Tag Assistant shows an error on my GTM tag: Most common cause is a misconfigured trigger in GTM. Open the tag in GTM, check the trigger fires on the pages you expect, and verify any variables are defined correctly.

GA4 numbers doubled after adding GTM: You are firing GA4 both through Pixelesq's native integration AND through a GA4 tag in GTM. Remove one. See the double-counting trap section above.


FAQ

Can I use GTM without Google Analytics?

Yes. GTM is a tag management system, not an analytics tool. You can use GTM exclusively for non-GA4 tags like Meta Pixel, LinkedIn Insight, or conversion pixels for ad platforms. Many teams use GTM specifically because they want to centralize non-GA4 tags.

Does GTM slow down my Pixelesq site?

GTM itself adds about 100-200ms to page load on the first visit (cached after). The bigger impact comes from the tags you add inside GTM. A container with 5-6 well-configured tags is fine. A container with 30+ tags will noticeably slow your site. Audit your tags quarterly.

Can I fire different tags for logged-in vs anonymous visitors on my Pixelesq site?

Yes, through GTM's trigger conditions. You can use custom variables (data layer pushes) or cookie checks to differentiate users. Pixelesq does not push a data layer event automatically for auth state, so you would need to add a custom script that sets a data layer variable based on your own logic.

Do I need a separate GTM container for each Pixelesq project?

Yes. Each Pixelesq project should have its own GTM container. Containers are tied to domains and workspaces. Sharing one container across multiple sites makes reporting messy and increases the risk of firing tags on the wrong site.

Can I use Google Tag Manager Server-Side with Pixelesq?

Pixelesq does not currently offer a server-side tagging integration. You can still use GTM Server-Side by pointing the client-side GTM container to your own server-side GTM endpoint. This is an advanced setup that requires server infrastructure outside of Pixelesq.

If I remove the GTM ID from Pixelesq, do all my tags stop firing immediately?

They stop as soon as you re-publish your site. Removing the GTM ID unlinks the container from Pixelesq, and the next published page loads without the GTM script. Visitors on already-cached pages may continue seeing tags until their cache refreshes.

On this page

Quick AnswerWhen to Use GTM vs Native IntegrationsWhat You NeedStep 1: Get Your GTM Container IDStep 2: Open Analytics Settings in PixelesqStep 3: Paste Your GTM Container IDStep 4: Configure Your Tags in GTMStep 5: Verify GTM Is FiringThe GTM + GA4 Double-Counting TrapPro TipsTroubleshootingFAQ

Still have questions?

Our team is here to help you get the most out of Pixelesq.

Loading…
built with
Pixelesq Logo
pixelesq
Set Up Google Tag Manager | Pixelesq