You are testing a new product page in VWO. You want to know if the gallery gets used more in the new version.
VWO now trades as Wingify, and vwo.com redirects there. The custom conversion goal works the same way.
Fire a goal from a gallery moment
- Create the goal. In your test, open Configuration, then Goals. Set Goal Type to Tracks custom conversion on.
- Copy the snippet. Enter the page URL and save. Copy the code snippet with your goal ID.
- Add a GTM tag. In Tag Manager, create a Custom HTML tag and paste the snippet.
- Pick the moment. Use the idukki_ugc trigger with Some Custom Events. Add the condition ugc_event equals post_open.
- Test and publish. Preview, open a post on your store, then publish.
<script>
window._vis_opt_queue = window._vis_opt_queue || [];
window._vis_opt_queue.push(function () {
_vis_opt_goal_conversion(YOUR_GOAL_ID);
});
</script>Use your own goal ID from the snippet. The VWO SmartCode must already run on the page.
| Goal idea | ugc_event condition |
|---|---|
| Shoppers open customer posts | post_open |
| Shoppers follow a product link | product_click |
| Shoppers add from the gallery | add_to_cart |
| Shoppers start a video | video_play |
A workspace with VWO’s Data Platform uses metrics instead of goals. Check VWO’s help for that setup.


