Skip to content

Instantly share code, notes, and snippets.

@vwo-kb
Created October 22, 2019 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vwo-kb/4519470e6b22af6a7bd86da58d1254dc to your computer and use it in GitHub Desktop.
Save vwo-kb/4519470e6b22af6a7bd86da58d1254dc to your computer and use it in GitHub Desktop.
How to Integrate VWO with UA through a non-GTM Tag Manager
ga.getAll().forEach(function(e) {
if (e.get('trackingId') == 'UA-9679904-1') {
console.log(window.finalprefix = e.get('name'));
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment