Your manager asks if the gallery sells anything. GA4 can answer, once it knows which shoppers used it.
The widget sets a GA4 user property, ugc_engaged = "yes". It sets it the first time a shopper opens a post. Clicking a product, playing a video or adding to cart also counts. A gallery view alone does not.
Register the dimension
- Open Custom definitions. In GA4, open Admin. Under Data display, click Custom definitions.
- Create the dimension. On the Custom dimensions tab, click Create custom dimensions.
- Fill in the fields. Name it UGC engaged. Set Scope to User. Enter ugc_engaged as the user property.
- Save and wait. Click Save. Google says reports can use it 24 to 48 hours later.
You need the Editor role or above. You cannot change the scope or property name after you save.
Compare the two groups
- Start an exploration. Click Explore, then create a free-form exploration.
- Import the dimension. Next to Dimensions, click +. On the Custom tab, pick UGC engaged and click Import.
- Add metrics. Import Active users, Total purchasers and Purchase revenue.
- Lay it out. Drag UGC engaged into Rows. Drag the three metrics into Values.
| Row | Who it is |
|---|---|
| yes | Shoppers who opened a post, clicked a product, played a video or added to cart. |
| (not set) | Everyone else. GA4 shows this when no value was sent. |
Divide Total purchasers by Active users in each row. That gives each group’s share of buyers.
- Why is every row (not set)?
- The property needs gtag on the page. It also needs 24 to 48 hours after you create the dimension.
- Does this use one of my custom dimension slots?
- Yes. A standard GA4 property allows 25 user-scoped custom dimensions.
- Can I build an audience from it?
- Yes. In Admin, under Data display, open Audiences and add a condition on UGC engaged.


