Skip to content

Instantly share code, notes, and snippets.

@simondahla
Last active December 24, 2015 07:09
Show Gist options
  • Save simondahla/6761708 to your computer and use it in GitHub Desktop.
Save simondahla/6761708 to your computer and use it in GitHub Desktop.
How to add a Custom Conversion Goal (CCG) in Visual Website Optimizer (VWO) for a specific test
window._vis_opt_queue = window._vis_opt_queue || [];
//Do change the Goal ID below AND the Test ID to the one shown in the Code snippet tab of the test.
window._vis_opt_queue.push(function() {_vis_opt_register_conversion(goalId, testId);});

#Custom Conversion Goal in Visual Website Optimizer (VWO)

How to add a Custom Conversion Goal (CCG) in VWO. Use this to be able to add a CCG for a specific test.

Replace goalId and testlId with your test specific values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment