I want to track visits to marketo landing pages along with my site's google analytics. This is a comment that appears on free-form template :
<!--GOOGLE ANALYTICS. ENTER YOUR CODE and UNCOMMENT block -->
_uacct = "YOURCODE";
I've added my tracking code and uncommented the code but tracking doens't seem to be working. Anything else I'm missing?
(I see no active users on GA once I've approved the template even though I've loaded the page)
This is the old Urchin code. Do not use it an use a Universal Analytics that you can get from your GA account instead. Go to GA, then admin -> Property -> Tracking code.
The code has this form:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-99999999-9"></script>
window.dataLayer = window.dataLayer || ;
gtag('js', new Date());