All Collections
Nexternal
Google Analytics & Google Marketing
Nexternal: Integrate Google Optimize for Site and Content A/B Testing
Nexternal: Integrate Google Optimize for Site and Content A/B Testing
Pamela Topper avatar
Written by Pamela Topper
Updated over a week ago

Product: Nexternal

Please Note: These instructions were provided to us by a client who has successfully integrated Google Optimize in the manner that follows. TrueCommerce/Nexternal has not tested this, and we cannot consult if you are unsuccessful.

In order to integrate Nexternal with Google Optimize when you already have Google Analytics integrated with data in the Google Analytics Account and Google Analytics Domain fields, leave that integration intact (and verify that it is working), and then add a second Google Analytics integration with the Google Optimize snippet in the Tracking Code section. (Settings / Edit Policies Addenda and Disclaimers / Tracking Code):

“””

<!-- Google Analytics w Optimize snippet -->

<script>

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-111111111-1', 'auto');

ga('require', 'GTM-1111111');

ga('require', 'ec');

ga('require', 'displayfeatures');

</script>

<!-- END Google Analytics w Optimize snippet -->

“””

In order to test, use Google Tag Assistant extension. There will be two Google Analytics integrations when tested but it should be fine.

rev. 5/22/19

Did this answer your question?