0
Welcome Guest! Login
0 items Join Now

Google Analytics Demographic

    • sohopros's Avatar
    • sohopros
    • Elite Rocketeer
    • Posts: 729
    • Thanks: 2

    Google Analytics Demographic

    Posted 11 years 5 days ago
    • Google has an area of statistics called Demographics and Interest Reports that requires a change on the url called by the js on the bottom of the page.

      We are currently using the Gantry Feature to add the Google Analytics code our customers. As can be seen on the image below. My question is:

      1 - Can we expect to have a Demographics and Interests url for Google Analytics on Rockettheme templates?
      2 - If number one is affirmative, when can we expect this feature?


      Thanks,
      SOHO Prospecting

      This image is hidden for guests.
      Please log in or register to see it.
    • SOHO Prospecting Team
      http://www.sohoprospecting.com
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13482
    • Web Designer/Developer

    Re: Google Analytics Demographic

    Posted 11 years 3 days ago
    • How does the code need to be modified? Do you have a link to the google code? I can then ask the DEVS.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13482
    • Web Designer/Developer

    Re: Google Analytics Demographic

    Posted 11 years 3 days ago
    • btw - if you need to you can modify the code in

      /libraries/gantry/features/analytics.php

      But remember that any gantry updates will overwrite the file again.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • sohopros's Avatar
    • sohopros
    • Elite Rocketeer
    • Posts: 729
    • Thanks: 2

    Re: Google Analytics Demographic

    Posted 11 years 3 days ago
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13482
    • Web Designer/Developer

    Re: Google Analytics Demographic

    Posted 11 years 3 days ago
    • ok I added an "improvement" request for consideration by the DEVS in a future release (no promises though). In the mean time you can change the file I mentioned above.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • sohopros's Avatar
    • sohopros
    • Elite Rocketeer
    • Posts: 729
    • Thanks: 2

    Re: Google Analytics Demographic

    Posted 11 years 3 days ago
    • Since that file will be over-written by future releases, is there any advantage to doing that versus disabling the feature and putting the new GA code directly into the template until Gantry releases a compliant version?
    • SOHO Prospecting Team
      http://www.sohoprospecting.com
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13482
    • Web Designer/Developer

    Re: Google Analytics Demographic

    Posted 11 years 2 days ago
    • nope - doesn't matter which way you do it - either require a change to original templates files that would get overwritten by updates.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • sohopros's Avatar
    • sohopros
    • Elite Rocketeer
    • Posts: 729
    • Thanks: 2

    Re: Google Analytics Demographic

    Posted 11 years 2 days ago
    • We can also have the Google Analytics code in a Custom HTML module and publish analytics of the template. Would that be a recommended method?
    • SOHO Prospecting Team
      http://www.sohoprospecting.com
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13482
    • Web Designer/Developer

    Re: Google Analytics Demographic

    Posted 11 years 2 days ago
    • yes that would be a good way since you won't have to tamper with template files - good idea!

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: Google Analytics Demographic

    Posted 10 years 9 months ago
    • I thought the module idea was great as well and tried it out with Google's remarketing tag. I put their code snippet in the Analytics position. Unfortunately, my good buddy Google (argh!) has a lot of restrictions and wants it placed immediately after the body tag without being in a div... etc etc

      It would be wonderful if Gantry/RocketTheme templates could include a simple way to include Google's eccentric requirements as they do for Analytics. Their initial instructions just said, "To ensure that all the webpages on your site include the remarketing tag, you should insert the remarketing tag in one place, where it would automatically update all the webpages on your site. Typically you would do this within your webpage template." Well I did that! Then they said they couldn't find it.

      They said to download their Tag Assistant to find out why they couldn't find my newly added tag. You can find it here: chrome.google.com/webstore/detail/tag-as...dddjlbokphdefk?hl=en And this said tool referred me to a whole laundry list of no-no's: support.google.com/tagassistant/answer/3...en&ref_topic=2947092

      I don't see an easy way to place their code snippet "immediately after the opening body tag" and not inside a div using a module. I placed it between these two lines in my Gantry template index.php and it appears to be correct. It's only giving me a 'suggestion' for improvement but from my research, their 'suggestion' may be an anomaly that will go away in a few days.
      <body <?php echo $gantry->displayBodyTag(); ?>>
      *** I PUT GOOGLE CODE SNIPPET HERE ***
      <?php /** Begin Drawer **/ if ($gantry->countModules('drawer')) : ?>
    • Last Edit: 10 years 9 months ago by Cari Adamek. Reason: typo

Time to create page: 0.060 seconds