(Repost from FB DNN Connect Group) I have 2 portals on one 9.3.2 instance. Google analytics works in one (Portal 0) and not in the other (Portal 1). Confirmed the settings are identical in both portals (different tracking#), send test data from Analytics properly 'finds' the site (Portal 1). Any thoughts or recommendations would be much appreciated! Thanks! Additional Info: * Analytics Code on both sites is correct, and confirmed to match the Google Script. Tracking numbers are the only difference. * Both are SSL secured, site maps are correct. * DIFFERENCE- Important? -- One thing I just discovered that is different between the two - not sure of the significance (old sites) -- the working site has this code snippet in the Head section, starting at line 6. It is absent from the non-working site (UA id replaced with X's)
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="<a href="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX&fbclid=IwAR3qe3ldNLES4DpbDfAr5OyxuXu1wRI-wBR_CMlJ9hbLd1DZ99lLFbhfEIg" rel="nofollow" role="link" tabindex="0" target="_blank">https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX</a>"></script></p>
Do you see JS errors in the browser console? (F12)
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.