End of Support for Joomla 3 - Forum closed
[SOLVED] Google Analytics
- scaminades
- Topic Author
- Visitor
- Thank you received: 0
Hallo,
ich möchte gerne Google Analytics in das Template Work einbauen. In welcher Datei muss ich das einfügen?
Herzlichen Dank,
Sandra
ich möchte gerne Google Analytics in das Template Work einbauen. In welcher Datei muss ich das einfügen?
Herzlichen Dank,
Sandra
by scaminades
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Hallo, hierzu müssen sie folgende Datei editieren:
>> layouts/theme.php
>> layouts/theme.php
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
- scaminades
- Topic Author
- Visitor
- Thank you received: 0
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Please Log in or Create an account to join the conversation.
1) what is the difference with the 'additional script' option? Can that be used also?
Extensions -> template -> [templatename] -> settings -> scroll to bottom
Insert your Google Analytics tracking code or any other additional scripts here. They will be added before the closing body tag in the theme.
2) I have added the code but still google reports no visits. Do I need to check anything else (module, plugin?)
Extensions -> template -> [templatename] -> settings -> scroll to bottom
Insert your Google Analytics tracking code or any other additional scripts here. They will be added before the closing body tag in the theme.
2) I have added the code but still google reports no visits. Do I need to check anything else (module, plugin?)
by renerene
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Hi there,
the difference is:
1.) If you insert the script from template option the script is at the end of the site
2.) If you add the script in the file >> layouts/theme.php the script is between the header
Please visit your site and press the right mouse > view source code and check if your code is available
the difference is:
1.) If you insert the script from template option the script is at the end of the site
2.) If you add the script in the file >> layouts/theme.php the script is between the header
Please visit your site and press the right mouse > view source code and check if your code is available
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates