What is Google Analytics 4?
How to add your GA4 tracking code to a Joomla website.
If you have no idea what Google Analytics is used for then you can read Google’s promotional material. While some people“Google Analytics - What is it good for?” by Brian Teeman, Joomla Community Magazine, 20 March 2023 do not feel that Google Analytics is a particularly worthwhile investment of time, I’m happy enough to use it. With the demise“As Google’s Universal Analytics comes to a close, what alternatives if any do you need?As Google’s Universal Analytics comes to a close, what alternatives if any do you need?” by Philip Walton, Joomla Community Magazine, 20 September 2022 of Google’s Universal Analytics (also known as “Google Analytics 3”)GA3 stopped collecting data effective from 1 July 2023. Google released GA4 late last year.
You can read about more ways you can use GA4 by reading these two articles:
• “GA4 Events and More!” by Louise Hawkins, Joomla Community Magazine, 20 November 2022
• “Google Analytics GA4 Reporting…” by Louise Hawkins, Joomla Community Magazine, December 2022
Assuming you understand what Google Analytics does, or what you might be able to do with it, I’ll leave it to the reader to create the GA4 property and obtain the “tracking code” that’s required for GA to collect the data from your website(s). This article is concerned with answering a question that is often asked (and, in my opinion, poorly answered), viz.
I have … the script for Google Tag Manager but can’t find where to copy it…a forum user, Joomla forum, 9-Sep-2023
I think the biggest problem people have finding the answer is because the information that I’ve found is incredibly dense and hard to read; in fact it was quite difficult for me to understand, I nearly decided to abandon Google Analytics altogether. We’ll try to make things as easy as possible; I got things working and you can too … and it won’t take you a month of Sundays to solve this problem!