test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • chamitart Friend
    #193920

    I want to add Google Nalytics to Joomla. I created the php document and uploaded on my web page.

    However, I need to do the following:
    Dynamic Content Implementation: Use a common include or template to paste the code above instead of manually adding it to every page.

    How do I do this????

    pavit Moderator
    #519157

    Hi

    You can add the analytics script in this file pluginssystemjat3jat3base-themesdefaultpagedefault.php

    This will show the code in every Joomla page

    chamitart Friend
    #519190

    Thanks! in which part of the default.php code, should I put the google analytics code?

    pavit Moderator
    #519201

    Hi

    To avoid that updates will modify your code, you can also do in this way

    Copy plugins/system/jat3/jat3/base-themes/default/blocks/head.php file and paste into /templates/ja_travel/blocks

    Open the copied head.php file

    Add your google analytics code at the end of head.php file

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  pavit 10 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum