Today I received the notice from Google about switching over to GA4. For manual installation (not using the Google tools for major CMS products) they give instructions for manual installation, as below. Exactly how do we place this script in our own site? Will the updated JR module be able to do this for us?! (I have taken out the html brackets)
Thanks, hopefully... Peter
" Install the Google tag manually
Below is the Google tag for this account. Copy and paste it in the code of every page of your website, immediately after the head element. Don’t add more than one Google tag to each page. "
!-- Google tag (gtag.js) --
script async src="https://www.googletagmanager.com/gtag/js?id=G-blahblahblah"/script
script
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-blahblahblah');
/script
--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)
updated by @researchcooperative: 05/10/23 10:03:32AM