1. jascanio
  2. Sherlock Holmes
  3. Commercial Templates
  4. Tuesday, 14 June 2022
  5.  Subscribe via email
Hi.
I have my Joomla 3.10.9 with J51 Magnolia template.
I use the Joomla built-in analytics plugin with the domains UA code.
Now moving to analytics version 4, which this plugin cannot handle.
So I will be using the global site tag script, which I will include in the web <head>
As my web is multilingual and requiered different logos, I created one style per language.
Do I need to insert the gtag.js script in all the styles custom codes?
Thanks in advance for your reply.
Regards,
Jaun
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

If using the custom code field then, yes, you would need to add to all styles presuming you want all pages tracked. Alternatively, you can add the code directly to the templates index.php file however this would get overwritten if you ever update your template.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi CiarĂ¡n.
Ok. Thanks for your reply.
I'll go for the index.php
Regards,
Juan
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.