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.
It is the Monday report. Your gallery got a lot of taps last week, according to the dashboard. Your analyst opens GA4 and asks where those taps are. Then the ads team asks why Meta shows more adds than the store.
In this article
This guide gets you one thing. Your analytics will show the same gallery story as the Idukki dashboard. And the ad platforms will not count a gallery add twice.
What reaches each tool
The widget looks for the tags already on the page and sends to each one. If our team added your ID in Idukki, the widget loads that tag itself.
| Tool | What it gets | Shopify difference |
|---|---|---|
| GA4 | Custom events named idukki_..., plus select_item, view_item and add_to_cart. Video progress at 25, 50, 75 and 100%. | The add is idukki_ugc_add_to_cart |
| Meta Pixel | ViewContent on a tile click, AddToCart on a confirmed add. UGC_ custom events for the rest. | The add is UGC_AddToCart |
| TikTok Pixel | The same names as Meta. | The add is UGC_AddToCart |
| Pinterest Tag | Confirmed adds only, as addtocart. | The add is a custom event |
| Klaviyo | Viewed Product and Added to Cart, when switched on per gallery. | None |
| Google Tag Manager | One idukki_ugc event per moment, with a ugc_event field. | None |
The full list, with every field, is in the widget event reference.
One shopper moment, followed through
A shopper on your product page taps a customer video. She opens it, then adds the jacket. Here is what leaves the page.
From one tap to every tool
- 01
Tap a tile
GA4 gets idukki_gallery_click and select_item. Meta and TikTok get ViewContent.
post_click
- 02
Open the post
GA4 gets idukki_modal_open and view_item. Meta and TikTok get UGC_PostOpen.
post_open
- 03
Watch the video
GA4 gets the first play and each quartile. Meta and TikTok get UGC_VideoPlay.
video_play
- 04
Store confirms the add
GA4, Meta, TikTok and Pinterest get the add. GTM gets add_to_cart.
add_to_cart
The add waits for your store. A tap on Add to cart that the cart refuses sends nothing.
How a gallery add stays counted once
Ad platforms optimise on standard events. So the widget sends a standard event only for a product view or a confirmed add.
On Shopify, the store’s own Meta, Google, TikTok and Pinterest channels already report each add. There, the widget’s add goes as a custom event instead.
Every moment carries one event ID. Meta merges a Pixel event and a server event with the same ID and name. TikTok and Pinterest drop repeats the same way.
Server forwarding to Meta’s Conversions API and GA4’s Measurement Protocol is optional. Our team sets it up with your token or API secret. The Meta guide covers the details.
GA4: see who used the gallery
The widget sets a GA4 user property, ugc_engaged = "yes". It is set on the first post open, product click, video play or add.
Register it as a user-scoped custom dimension. Then compare buyers in the two groups. This guide walks through the exploration.
Google Tag Manager: one trigger for everything
With GTM on the page, each moment is also pushed to the dataLayer as idukki_ugc. Its ugc_event field is gallery_view, post_click, post_open, product_click, video_play or add_to_cart.
Create one Custom Event trigger on idukki_ugc. Add a Data Layer Variable for ugc_event. Any tag in your container can then use gallery moments. The GTM guide has the steps.
Matomo and VWO: through GTM today
Neither tool gets events from the widget directly. Both can read the idukki_ugc event through Tag Manager.
Which route fits your tools
Start here
Where does your team report?
- GA4 or Meta
Nothing to build
The widget sends to the tags already on your page.
- Matomo
GTM Custom HTML tag, or Matomo Tag Manager
Push each idukki_ugc moment to Matomo as an event.
- Matomo code runs on the site: A GTM Custom HTML tag calls trackEvent.
- You use Matomo Tag Manager: Turn on its GTM dataLayer sync.
- VWO
A custom conversion goal in GTM
Paste VWO’s goal snippet into a Custom HTML tag fired by idukki_ugc.
Both recipes are written up: Matomo through GTM and VWO goals through GTM.
Headless stores and cookie consent
On Hydrogen or Next.js, galleries mount after a route change with Idukki.mount(). Events then flow the same way. See tracking galleries on headless stores.
The widget does not read your cookie banner. If shoppers must consent first, load your pixels through your consent tool. The consent guide explains the setup.
What is not sent
- No purchase event. Orders are matched in Idukki from your store’s order feed.
- Live shopping events stay in Idukki’s reports. They do not reach GA4 or the pixels.
- Video quartiles go to GA4 only. The pixels and the dataLayer carry the first play.
So GA4 and Idukki can show different order numbers. Order-anchored attribution explains why.
FAQs
Do I need to add anything to my site for GA4?
No, if GA4 already runs on the page. The widget sends its events to that tag.
Why does Meta show UGC_AddToCart instead of AddToCart?
Your store runs on Shopify. Shopify’s own Meta channel already reports the add, so the widget’s copy is custom.
Can I send gallery events to Matomo without GTM?
Not today. The route runs through the idukki_ugc event in the GTM dataLayer.
Does the gallery send video watch time?
To GA4, yes. Pop-up videos send 25, 50, 75 and 100% with watch seconds.
Sources
- 1Google Analytics Help, Create user-scoped custom dimensions · Admin, Data display, Custom definitions. Read 26 November 2026.
- 2Tag Manager Help, Custom event trigger · Custom Event trigger on a dataLayer event name. Read 26 November 2026.
- 3Meta for Developers, Deduplicate Pixel and server events · Matching event ID and event name. Read 26 November 2026.
- 4TikTok Ads Manager, About event deduplication · Same event and event_id within 48 hours. Read 26 November 2026.
- 5Pinterest Business help, Add event codes · addtocart event and event_id. Read 26 November 2026.
- 6Matomo, Track events using GTM dataLayer events and variables · Matomo Tag Manager sync from the GTM dataLayer. Read 26 November 2026.
- 7Wingify (formerly VWO), How to implement a custom conversion goal · Goal snippet, deployable through GTM. 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.
- Rights and compliance
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.
- 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
- Rights and compliance
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.
- 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.
- Shoppable video
Where to place shoppable video on your store for maximum lift
The product page is the highest-leverage placement for shoppable video: closest to the doubt. Homepage and collections do discovery. Here is the order to roll them out.