View the website footer to confirm the Google Analytics module installation was successful by checking script code has been added.
Procedure
- Open a browser and navigate to a page in the Example Site that includes the Footer Page such as the website's home page.
- View the Page Source.
- Find the following code block to confirm successful installation:
<script>
(function (b, o, i, l, e, r) {
b.GoogleAnalyticsObject = l; b[l] || (b[l] =
function () { (b[l].q = b[l].q || []).push(arguments); }); b[l].l = +new Date;
e = o.createElement(i); r = o.getElementsByTagName(i)[0];
e.src = '//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e, r);
}(window, document, 'script', 'ga'));
ga('create', 'SiteKey'); ga('send', 'pageview');
</script>
where SiteKey is the value of the Google Analytics site key you specified in Content Manager.