Google Analytics in Joomla 4 - Forum | JoomShaper
Awaiting an answer Helix Framework

Google Analytics in Joomla 4

Asked by Nicole Otto 3 years ago Last activity 3 years ago

I am using the Decora template and there is no option to add the Google Analytics code in the advnaced tab in the Style setting. I need to add this code to the website.

https://khdrafting.com

3 replies

Ofi Khan Staff

Hello Nicole Pomeroy

Please put your Google Analytics code in Template Options -> Custom Code -> Before Head section. You may follow this documentation

Best regards

Paul Frankowski Senior Staff
3 years ago · edited

If I may...

but remember to use Google Analytics 4 tracking code!

Becuase On 1 July 2023, Universal Analytics will stop processing new activities.


You can also use addcional plugin, but make sure that it support GA4.

But Ofi said, using Custom field in Custom Code is the easiest solution, few seconds.

Nicole Otto Asked this

I'm still trying to finish this website but the customer wanted it live.

Log in to reply.