Is there an easy way to install the google analytics script? or statcounter -> (like) i just can not figure it out. help!!!! thanks folks.
Thursday, June 08 2017, 11:11 PM
Share this post:
Responses (8)
  • Accepted Answer

    Friday, June 09 2017, 01:20 AM - #Permalink
    Go to Extensions>View All
    Then filter 'Type' by Analytics
    Then edit Google Analytics and enter the code and save.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 09 2017, 02:24 AM - #Permalink
    Hey Breck thanks for the reply, but the darn ting gives me that same error massage over and over... this one ~ / Warning: JavaScript code is reuqired! Any idea where i can fix this? boas!

    oh, i paste the google script in there like this

    <--scropt>

    29fmjfkd.fgmfg KEY ETC.

    -<--////scropts>
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 09 2017, 03:34 AM - #Permalink
    Not sure if your using the proper code.

    Mine looks like this:
    <s-cript>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-55028615-1', 'auto');
    ga('send', 'pageview');

    </script>
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 09 2017, 09:06 AM - #Permalink
    It looks ok!!! it works on elsewhere? man i've dikin around this for vveeks now. Cant figure it out. Does it look ok? What editor are you using if you dont mind me asking?

    When i hit save, i lose the script tags.



    <s-cript>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-72716312-1', 'auto');
    ga('send', 'pageview');

    </script>
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 09 2017, 02:27 PM - #Permalink
    Looks about the same.
    When you go to Extensions>View All
    Then filter 'Type' by Analytics,
    Does it only show 1 Google Analytics?
    There is a bug is this system where it generates fake duplicate modules that don't work.
    Delete them and sometimes they reappear.
    I would say delete or uninstall the module and reinstall it, but I don't know if it's in the Marketplace.
    The marketplace site seems to be down and I can't get it to load.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 09 2017, 02:32 PM - #Permalink
    Finally got on to the marketplace. Slow as shit. Some hicup in between likely.
    They have no analytics listed so reinstall would have to be from uploading the default website files.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, June 10 2017, 12:37 PM - #Permalink
    Sted, which version of Arastta are you using?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, June 10 2017, 07:00 PM - #Permalink
    Good question Rune.

    ok on my cPanel scripts installation the version is: October 26, 2016, 2:16 am version: 1.5.5 (is this normal?)

    however, if I were to install it today as a new installation the cPanel latest version is: Release Date : 19-04-2017 version: 1.6.1

    on my arastta ADMIN panel it reads:

    Update Center
    Congratulations! Your store is up to date. ×
    Arastta
    Congratulations! You have the latest version of Arastta. Future security updates will be applied automatically.
    Extensions
    Congratulations! Your extensions are all up to date.
    Themes
    Congratulations! Your themes are all up to date.
    Translations
    Congratulations! Your translations are all up to date.

    oN THE SYSTEM INFO IT READS:
    Platform Arastta 1.6.1 Stable [ Tianjin ] 19-April-2017 15:30 GMT +3
    The reply is currently minimized Show
Your Reply