0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

SOLVED - Best method-extension to add Google Analytics to RT

    • nemmar's Avatar
    • nemmar
    • Sr. Rocketeer
    • Posts: 221
    • Thanks: 0

    SOLVED - Best method-extension to add Google Analytics to RT

    Posted 13 years 8 months ago
    • (Let me know if I should post this question in the Reflex forum)

      Can you tell me what is the best method or extension to add Google Analytics to my RT Reflex template on a Joomla 1.7 site?

      I found this topic by searching the forum but it's from a post that's a year old so I'm wondering if there's a newer/better extension or method to add Google Analytics to a Joomla 1.7 site with an RocketTheme template:
      http://www.rockettheme.com/forum/index.php?f=15&t=105553&p=530689&hilit=google%20analytics&rb_v=viewtopic#p530689

      Thanks for any advice!
    • Last Edit: 13 years 5 months ago by nemmar.
    • NOTE to forum mods: Right-Click is disabled on my site but source code is visible. Unfortunately, I have some images on my site that are licensed and the agreement is that right-click be disabled. I use the F12 key for Firebug instead of right-click. Sorry for the inconvenience.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED - Best method-extension to add Google Analytics to RT

    Posted 13 years 8 months ago
    • if you are using a Gantry template the google analytics input box of the features tab of the template manager is good.
    • nemmar's Avatar
    • nemmar
    • Sr. Rocketeer
    • Posts: 221
    • Thanks: 0

    Re: SOLVED - Best method-extension to add Google Analytics to RT

    Posted 13 years 8 months ago
    • cdavis411 wrote:
      if you are using a Gantry template the google analytics input box of the features tab of the template manager is good.

      Okay, I just enabled the Google Analytics button in the template manager and I added my full Google Analytics account number, such as, UA-123456-7.

      However, when I save this setting and refresh my front-end site pages, using Firebug I can't find the Google Analytics UA account number listed in the source code of the pages. I can see the following line of code in the head tag of the pages but not the UA account number:
      <script type="text/javascript" async="" src=" www.google-analytics.com/ga.js ">

      Am I doing something wrong? Shouldn't my Analytics account UA number show up in the source code of the pages?
    • NOTE to forum mods: Right-Click is disabled on my site but source code is visible. Unfortunately, I have some images on my site that are licensed and the agreement is that right-click be disabled. I use the F12 key for Firebug instead of right-click. Sorry for the inconvenience.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED - Best method-extension to add Google Analytics to RT

    Posted 13 years 8 months ago
    • if you have the analytics feature toggled on, you should see something like this:
      _gaq.push(['_setAccount', 'UA-15575703-1']);
        _gaq.push(['_trackPageview']);
      or
    • nemmar's Avatar
    • nemmar
    • Sr. Rocketeer
    • Posts: 221
    • Thanks: 0

    Re: SOLVED - Best method-extension to add Google Analytics to RT

    Posted 13 years 8 months ago
    • I don't see that in the source code.

      Can you take a quick look at my site and let me know if my Google Analytics account UA code is there and I'm just not finding it?

      I haven't used Firebug before so it's possible I'm not using the search feature of it properly and the code is there but I'm just not finding it.
    • Last Edit: 13 years 8 months ago by nemmar.
    • NOTE to forum mods: Right-Click is disabled on my site but source code is visible. Unfortunately, I have some images on my site that are licensed and the agreement is that right-click be disabled. I use the F12 key for Firebug instead of right-click. Sorry for the inconvenience.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED - Best method-extension to add Google Analytics to RT

    Posted 13 years 8 months ago
    • this is showing in your source code
      _gaq.push(['_setAccount', 'UA-165707-1']);
        _gaq.push(['_trackPageview']);
      You can also search source by hitting ctrl-u to view source then ctrl-f to use the find/search feature
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED - Best method-extension to add Google Analytics to RT

    Posted 13 years 8 months ago
    • it should take about 12-24 hours before you see results in your analytics account.

Time to create page: 0.085 seconds