# 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.

By Rohin Aggarwal · 2026-11-26

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.

**Quick answer**

- **The gallery sends to tags already on your page.** GA4, the Meta Pixel, the TikTok Pixel and the Pinterest Tag.
- **Google Tag Manager gets one event.** Every moment is pushed as idukki_ugc, with a field naming the moment.
- **Each add is counted once.** Standard events only for what they mean, custom names on Shopify, one event ID per moment.
- **Matomo and VWO run through GTM.** There is no direct connection to either today.
- **No purchase event is sent.** Idukki matches orders to gallery visits on its own side.

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 |

_What each tool receives from the gallery. Checked against the widget code on 26 November 2026._

The full list, with every field, is in the [widget event reference](/help/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**
1. **Tap a tile** — GA4 gets idukki_gallery_click and select_item. Meta and TikTok get ViewContent. (post_click)
2. **Open the post** — GA4 gets idukki_modal_open and view_item. Meta and TikTok get UGC_PostOpen. (post_open)
3. **Watch the video** — GA4 gets the first play and each quartile. Meta and TikTok get UGC_VideoPlay. (video_play)
4. **Store confirms the add** — GA4, Meta, TikTok and Pinterest get the add. GTM gets add_to_cart. (add_to_cart)
_Each moment gets one event ID, shared by every pixel it reaches._

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](/help/meta-pixel-capi-shoppable-video-events) 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](/help/ga4-ugc-engaged-shoppers) walks through the exploration.

> **Correlation first:** Keen shoppers use galleries more. The gap between the groups is a start. A holdout test shows how much the gallery caused.

## 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](/help/gtm-route-idukki-events) 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**
Q: 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](/help/matomo-through-google-tag-manager) and [VWO goals through GTM](/help/vwo-goals-through-google-tag-manager).

## 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](/blog/track-ugc-galleries-headless-hydrogen-nextjs).

The widget does not read your cookie banner. If shoppers must consent first, load your pixels through your consent tool. [The consent guide](/blog/cookie-consent-ugc-widgets-pixels) 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](/blog/what-is-order-anchored-attribution) explains why.

### FAQs

**Q: Do I need to add anything to my site for GA4?**

A: No, if GA4 already runs on the page. The widget sends its events to that tag.

**Q: Why does Meta show UGC_AddToCart instead of AddToCart?**

A: Your store runs on Shopify. Shopify’s own Meta channel already reports the add, so the widget’s copy is custom.

**Q: Can I send gallery events to Matomo without GTM?**

A: Not today. The route runs through the idukki_ugc event in the GTM dataLayer.

**Q: Does the gallery send video watch time?**

A: To GA4, yes. Pop-up videos send 25, 50, 75 and 100% with watch seconds.

**Your next step:** Open GA4 Realtime and tap a tile on your live store. If idukki_gallery_click appears, register ugc_engaged next, using [the GA4 guide](/help/ga4-ugc-engaged-shoppers).

### Sources
- [Google Analytics Help, Create user-scoped custom dimensions](https://support.google.com/analytics/answer/14239618) — Admin, Data display, Custom definitions. Read 26 November 2026.
- [Tag Manager Help, Custom event trigger](https://support.google.com/tagmanager/answer/7679219) — Custom Event trigger on a dataLayer event name. Read 26 November 2026.
- [Meta for Developers, Deduplicate Pixel and server events](https://developers.facebook.com/docs/marketing-api/conversions-api/deduplicate-pixel-and-server-events/) — Matching event ID and event name. Read 26 November 2026.
- [TikTok Ads Manager, About event deduplication](https://ads.tiktok.com/help/article/event-deduplication) — Same event and event_id within 48 hours. Read 26 November 2026.
- [Pinterest Business help, Add event codes](https://help.pinterest.com/en/business/article/add-event-codes) — addtocart event and event_id. Read 26 November 2026.
- [Matomo, Track events using GTM dataLayer events and variables](https://matomo.org/faq/tag-manager/track-events-in-matomo-using-existing-gtm-datalayer-events-and-variables/) — Matomo Tag Manager sync from the GTM dataLayer. Read 26 November 2026.
- [Wingify (formerly VWO), How to implement a custom conversion goal](https://help.wingify.com/hc/en-us/articles/59063469852441-How-to-Implement-a-Custom-Conversion-Goal-in-Wingify) — Goal snippet, deployable through GTM. Read 26 November 2026.

---
Canonical: https://idukki.io/blog/track-ugc-shoppable-video-ga4-meta-tiktok-gtm
Tags: ga4, meta-pixel, google-tag-manager, shoppable-video, tiktok-pixel, matomo
