Google Analytics In Joomla..

Discussion in 'Google' started by touchAshley, Feb 4, 2008.

  1. #1
    I need to insert analytics on my joomla site but not sure how.the couple extensions i looked at looked pretty terrible based on their comments so i tried another that seems good. its the Google Analytics Tracking Module for joomla.

    I installed it. but doesnt seem to be working. Google says its retrieving data but I dont see the code when i view source and according to that, i have no visits for today! which is false.
     
    touchAshley, Feb 4, 2008 IP
  2. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #2
    Did you add the debug module onto the template? I think that's where the code is placed by default
     
    frankcow, Feb 4, 2008 IP
  3. touchAshley

    touchAshley Active Member

    Messages:
    1,762
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Noo I didn't. I just did and I'll see what happens
    thanks homie
     
    touchAshley, Feb 4, 2008 IP
  4. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #4
    it's easy to add it to your theme. i dont use any mambot or module for that
     
    trichnosis, Feb 4, 2008 IP
  5. touchAshley

    touchAshley Active Member

    Messages:
    1,762
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    90
    #5
    oh yeah. what file do you add it in so it tracks all my pages? index.php file of my theme?
     
    touchAshley, Feb 4, 2008 IP
  6. Torans

    Torans Active Member

    Messages:
    1,418
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #6
    i have just added the code under one of my banners, using a simple module!
     
    Torans, Feb 4, 2008 IP
  7. sogastic

    sogastic Peon

    Messages:
    202
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Just add like my site has it. Works perfectly.
    Open the index.php file and scroll down to the bottom and add your analytics code so it will look like this:


    
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-2034680-9";
    urchinTracker();
    </script>
    
    </body>
    </html>
    
    HTML:
     
    sogastic, Feb 4, 2008 IP
  8. thanhbinh777

    thanhbinh777 Active Member

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #8
    you can insert in file index.php in fordel template what you use.
    You can login administrator choise template and insert code
     
    thanhbinh777, Feb 4, 2008 IP
  9. sogastic

    sogastic Peon

    Messages:
    202
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Oh yeah, sorry. Forgot to add that it's important to add this code to index.php what is located at maincategory/templates/yourtemplate/index.php . Not in the main category index.php.

    Thank you.
     
    sogastic, Feb 4, 2008 IP
  10. Sigmaq

    Sigmaq Peon

    Messages:
    166
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Add it in a html module. Thats how I do it.
     
    Sigmaq, Feb 5, 2008 IP
  11. gpearce

    gpearce Active Member

    Messages:
    1,432
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    90
    #11
    Paste it into the bottom of index.php on the main site, or the index.php in the templates bit :)
     
    gpearce, Feb 5, 2008 IP
  12. touchAshley

    touchAshley Active Member

    Messages:
    1,762
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    90
    #12
    Thanks guys. I don't know why I didn't do that before. Why the hell do they have stupid modules for something so simple?
    anyway, i pasted it in there and its retrieving data.
     
    touchAshley, Feb 5, 2008 IP
  13. freelance85

    freelance85 Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Many Joomla users don't know that how easy is to add any code or script in Joomla website, and basically there is really no need to install any Module or Plugin for this kind of tasks.
    A very nice Tuorial about Google Analytics for Joomla can be found here

    savoniatech.com/how-to/7-how-to/8-how-to-add-google-analytics-in-joomla.html

    and it shows step by step with screenshots.
     
    freelance85, Jun 5, 2008 IP
  14. addmybuddies

    addmybuddies Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    In your admin panel, go to Site, Template manager, Site Template. Check the radio box right next to the template you are using, click Edit HTML, add analytics code right above /body tag. Cake.
     
    addmybuddies, Jun 5, 2008 IP