Cookie consent and UGC widgets: how to load pixels through your banner
The gallery does not read your cookie banner. Here is how to keep its GA4 and pixel events behind consent anyway.
Your privacy lead tests the store in a fresh browser. She clicks Reject all on the banner. Then she taps a customer photo and opens the network tab. She wants to know what the gallery just sent, and to whom.
In this article
This guide gets you a gallery that follows your banner. It needs no code change, only the right place for each tag.
How the gallery finds your tags
The widget looks for four tags on the page: Google, Meta, TikTok and Pinterest. It sends events to the ones it finds.
If our team added your ID in Idukki, the widget loads that tag itself. That load does not ask your banner.
Does the gallery send to a platform?
Start here
Is the platform’s ID saved in Idukki?
- Yes
The widget loads the tag
It loads on every page with a gallery. Your banner is not consulted.
- No
The widget looks for your tag
It sends only if the tag is already on the page.
- Shopper accepted, tag loaded: Gallery events reach the platform.
- Shopper rejected, tag blocked: Nothing is sent to that platform.
The setup that follows your banner
Three changes, once
- 01
Empty the IDs
Ask us to remove your GA4, Meta, TikTok and Pinterest IDs from Idukki.
Idukki
- 02
Load tags through consent
Your consent tool or tag manager loads each tag after the shopper agrees.
Your banner
- 03
Test both answers
Reject all, tap a tile, check the network tab. Then accept and repeat.
Browser
In Google Tag Manager, each tag has consent settings under Advanced Settings. A tag can require consent types, such as ad_storage or analytics_storage, before it fires. The Consent Initialization trigger runs your banner’s tag first.
The gallery’s idukki_ugc dataLayer event is pushed either way. Tags fired from it follow their own consent settings in GTM.
Server forwarding: the part to check
Some stores ask us to forward gallery events from our server, to GA4 and Meta. That path does not run through your banner.
Our server sends GA4 the events the browser could not deliver. If GA4 or Meta must wait for consent, ask us to leave server forwarding off.
| Destination | Sent? |
|---|---|
| Meta Pixel, TikTok Pixel, Pinterest Tag | No. The tags are not on the page. |
| GA4 in the browser | No. The Google tag is not on the page. |
| GA4 server forwarding | Only if our team set it up. Ask us to keep it off. |
| Meta Conversions API forwarding | Only if our team set it up. Ask us to keep it off. |
| Idukki’s own reports | Yes. Idukki counts gallery views and clicks for your dashboard. |
FAQs
Does the gallery set marketing cookies?
It does not load ad tags unless an ID is saved in Idukki. With the IDs empty, your banner decides.
What about Klaviyo?
The gallery uses Klaviyo’s script only if it is already on the page. Load Klaviyo through your banner too.
Will my GA4 numbers drop?
They follow your banner, as your other tags do. Idukki’s dashboard keeps counting gallery activity.
Related: what the gallery sends to each tool and GDPR and UGC.
Sources
- 1Tag Manager Help, Tag Manager consent mode support · Consent Initialization trigger and per-tag consent settings. Read 26 November 2026.
- 2Meta for Developers, Deduplicate Pixel and server events · Event ID and event name matching. Read 26 November 2026.
Continue reading
2 pieces in this clusterThese long-form pieces on the Idukki blog link back to this article, go deeper on the cluster.
- Measurement
How to track UGC and shoppable video in GA4, Meta, TikTok and Google Tag Manager
Which gallery and video events reach each tool. How adds stay counted once. How Matomo and VWO get them through GTM.
- Measurement
What is order-anchored attribution? Which post sold the bag, step by step
Order-anchored attribution starts from the order your store records and works back to the customer post. How the match works, and what "proven" means.
More from Rohin Aggarwal
- Measurement
How to track UGC and shoppable video in GA4, Meta, TikTok and Google Tag Manager
Which gallery and video events reach each tool. How adds stay counted once. How Matomo and VWO get them through GTM.
- Embedding
How to track UGC galleries on Hydrogen, Next.js and other headless stores
Mount galleries after each route change. Keep their events flowing to GA4, the pixels and GTM. Then check it in the browser.
- Rights and compliance
GDPR, consent and UGC
UGC shows identifiable people, so it is personal data under GDPR. A defensible programme records scoped permission, honours removal requests, and minimises what it holds.