Skip to Content
Tag ManagerTagsAdvertising And Analytics Tags

Advertising And Analytics Tags

Advertising and analytics tags send events to a platform’s own pixel or analytics library. You enter your account ID, pick an event, and map values from your variables. Nitoriq loads the platform’s library and makes the calls.

They appear in two groups when you choose a tag type:

  • Advertising: ad platforms: Meta Pixel, Google Ads, TikTok Pixel, Snapchat Pixel, Pinterest Tag, and Reddit Pixel
  • Analytics: analytics tools, Google Analytics 4

These tags follow the same rules as every other tag. They use your triggers, block triggers, and variables. They go live when you publish the container. Anyone who can edit the container can create them.

One tag per event

Each tag sends one event. A typical setup has two tags for the same pixel:

TagEventFires on
Meta Pixel – Page ViewPage ViewDOM Ready and Route Change
Meta Pixel – PurchasePurchasea Custom Event trigger for your purchase

You don’t need a separate “base” or “setup” tag. The first tag that fires for a pixel loads the platform’s library and initializes the pixel. Tags after it reuse both, even across several containers on the same page.

Page views on single-page apps

Attach page-view tags to both a DOM Ready trigger and a Route Change trigger. The first sends the initial page view, and the second sends one for each in-app navigation.

If the platform is already on the page

  • Meta: if your site already runs Meta’s own snippet, the tag reuses that library instead of loading a second copy.
  • Google: Nitoriq runs its own copy of Google’s tag, separate from any Google tag or Google Tag Manager on the site, so neither disturbs the other.
  • TikTok, Snapchat, Pinterest, and Reddit: as with Meta, the tag reuses the platform’s library if your site already runs its snippet.

In every case, check that the site’s own code isn’t also sending the same events to the same account, or they are counted twice. The debug overlay shows a note when it finds the platform already on the page.

One pixel per page on some platforms

Snapchat and Pinterest send every event to every one of their pixels on the page, so two Snap pixels on one page each count the other’s events. Reddit allows only one pixel per page, and tags for a second Reddit pixel are skipped. Use one pixel per page for these platforms.

Meta, Google, and TikTok tags send each event only to the pixel or account in the tag.

What the tags check

  • Account IDs must be in the platform’s format, or be a single variable such as {{meta_pixel_id}}. A variable is checked again when the tag fires. If it doesn’t resolve to a valid ID, the tag is skipped and the debug overlay says why.
  • Numbers and currencies are sent with the types the platform expects. 49.90 is sent as a number, and usd is sent as USD. A value that can’t be converted is left out, and the debug overlay says which one.
  • Lists from the data layer, such as cart contents, are sent as lists when the field holds a single variable.

When a platform is blocked

Ad blockers and strict Content Security Policies can stop a platform’s library from loading. When that happens, only that platform’s tags stop. Your other tags and your Nitoriq events keep working.

If your site uses a Content Security Policy, allow each platform’s hosts. The platform’s own page in this guide lists them.

Turn on consent for the container to make these tags wait for your consent banner. Until the visitor grants consent, they load and send nothing. See Consent for analytics and ads tags.

Deduplication with your server-side integrations

If you also send conversions to the same platform through a Nitoriq server-side integration, turn on Deduplication on conversion tags. See Browser pixels alongside the Conversions API.

Was this page helpful?