PixelYourSite Professional / Configuration: Pixels & APIs / Google Tag Manager

Google Tag Manager

Last updated: February 12, 2026

Use this section if you want to run tracking through Google Tag Manager instead of PixelYourSite’s native tags.

Enable GTM

Turns GTM on/off for the site.

GTM Tag

Paste your Container ID (format: GTM-XXXXXXX).
You can find it in your GTM workspace header or in Admin → Container Settings.


Send just the data layer

If enabled, PixelYourSite will only push events into the dataLayer and will not load the GTM container script.

Use this when:

  • your theme / another plugin already loads GTM, and you only need PixelYourSite’s event data
  • you want to manage the GTM script placement yourself

If you want PixelYourSite to load GTM too, leave this OFF.


Important (avoid duplicates)

Don’t install the same platform twice.
If you use GTM to fire Meta/GA4/Google Ads/etc., then disable the native PixelYourSite integration for that same pixel/tag ID. Otherwise you’ll send duplicate events.


GTM Container Import (recommended)

PixelYourSite provides a ready-to-import GTM container file (example shown: GTM Container Version 1.1).

After importing, your GTM container will include:

  • triggers for PixelYourSite events
  • variables for PixelYourSite parameters
  • GA4 support (you’ll still need to set your GA4 ID variable and add your own GA4 tag)

Use this if you want a fast, clean setup without building everything from scratch.


What data/events are pushed

These toggles control which event groups PixelYourSite sends to GTM (as dataLayer pushes):

  • Fire the active automated events for this pixel
  • Fire the WooCommerce events for this pixel
  • Fire the Easy Digital Downloads events for this pixel

Display conditions (Super Pack)

Control where the GTM container / dataLayer pushes apply:

  • Logic: Track / Don’t track
  • Scope (example: Entire site)
  • Add Extra Condition for advanced targeting

✅ Part of the Super Pack add-on.


Hide rules (Super Pack)

Prevent GTM from firing based on URLs:

  • Hide this tag if the URL includes (blocks only those pages)
  • Hide this tag if the landing URL includes… (blocks the whole session based on entry parameters)
  • Hide for X hours (temporary suppression)

✅ Part of the Super Pack add-on.


Container Import

The plugin offers a GTM Container Import file to help you get started quickly with pre-configured triggers and variables. Here’s a short video about how to use it: