Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #350538

    A comment on one of my blog posts told me that my site is firing its Google Analytics code twice – ga.js and analytics.js – and that this is causing the site’s bounce rate to appear lower than it is. For a 10-day span, the site’s bounce rate was zero. Currently, it is about 10% over the past 30 days.

    My site is hosted on DreamHost. In the DreamHost panel’s settings, there is a place to put my Google Analytics account ID (starting with “UA-“) for all of my sites. My account ID is there.

    My Enfold Child theme is also set up with my GA tracking code for the same account ID.

    Should I remove the tracking code from Enfold Child? Or is this ga.js/analytics.js conflict coming from somewhere else?

    #350840

    Hi DalandanUX!

    Yes if your already using analytics then you’ll want to remove the tracking code from the Enfold settings or your dreamhost account. If you use our settings then it should load the new analytics.js and not the ga.js which is probably being loaded by dreamhost.

    https://developers.google.com/analytics/devguides/collection/analyticsjs/

    Regards,
    Elliott

    • This reply was modified 9 years, 6 months ago by Elliott.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.