Google Analytics: update from ga.js.

Home Forums Jevelin Theme Google Analytics: update from ga.js.

Home Forums Jevelin Theme Google Analytics: update from ga.js.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • cagross
    Participant

    Hello. In Theme Options–>Custom Code–>Google Analytics ID, I can enter my GA ID so that my site stats can be tracked on Google Analytics. To implement Google Analytics on my site, your theme appears to use ga.js. But this is now a legacy method of implementing Google Analytics, and it is recommended that you upgrade (see here). Are you able to do so, or do you have plans to do so in the near future?

     

    I ask because I would like to install Google Optimize on my site, and I cannot do so on a site that uses ga.js for Google Analytics (see here).

     

    Thanks.

    Hi @cagross,

     

    I hope you are well today and thank you for your question.

     

    I have notified this to the theme developer so that it will be upgraded in the future version of the theme.

     

    In the meanwhile, you can use any other solutions to use Google analytics on your site.

     

    Best regards,
    Shufflehound team

    cagross
    Participant

    OK thanks for the reply.

    >> I have notified this to the theme developer so that it will be upgraded in the future version of the theme.

    Do you have a rough estimate as to when you expect to release the next theme version?

    >> In the meanwhile, you can use any other solutions to use Google analytics on your site.

    Got it–I’ll probably go with that.

    Do you have a rough estimate as to when you expect to release the next theme version?

    We don’t have any ETA yet.

    cagross
    Participant

    OK thanks. We can consider this resolved.

    You are always welcome here 🙂

    cagross
    Participant

    Just to update you, I installed Google Analytics via analytics.js, by adding this code to my child theme’s functions.php file:

    //Add Google Analytics to site.
    if ($_SERVER[‘HTTP_HOST’] == ‘www.jewelsbyaron.com’) {
    function add_googleanalytics() {
    ?>
    <script>
    window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
    ga(‘create’, ‘UA-XXXXXXX-1’, ‘auto’);
    ga(‘send’, ‘pageview’);
    </script>
    <script async src=’https://www.google-analytics.com/analytics.js’></script&gt;

    <?php }
    add_action(‘wp_footer’, ‘add_googleanalytics’);
    }

    It was taken from this page.

    Awesome great to see you got that achieved and thank you for sharing the solution in the forum.

    The issue is resolved in the below latest version of theme so please update the theme as described here https://support.shufflehound.com/updating-theme/

     


    Please login to access this file

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

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form