Skip to main content
Known Participant
Jun 9, 2020 12:19 PM UTC
Question

Google Analytics question

Hey up guys... quick question because I know I'll get a good answer here.

 

I normally set up google analytics by using an HTML file that was generated by the console, downloaded and then uploaded to the root level of the domain in question.

 

My question is: does google not provide an HTML file anymore? I can find it

 

Thanks.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    BenPleysier
    Community Expert
    Community Expert
    Jun 9, 2020 12:41 PM UTC

    Google only provide the link to Google with accompanying code in the form of JavaScript. They say to place this code on the head section of the document. I have found this to be render blocking which is the reason that I find it better placed at the bottom of the document.

     

    Having said that, the only one that benefits from Google analytics is Google, the information thus collected is onsold. Every decent web host has a Web Statistics/Traffic Monitor facility which I tend to use. 

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    MotorIBAuthor
    Known Participant
    Jun 9, 2020 3:22 PM UTC

    Thanks Ben.

     

    Anyway, the question has just become more complex!

     

    I've just logged into the company's google console and there's numerous versions of URLs for the same domain for a different website that I'm not involved with:

    website.com

    www.website.com

    http://website.com

    https://website.com

    and so on...

     

    I'm surprised to see this and am wondering if this is skewing figures and is this set up wrong?

     

    Surely if the verification code is present (despite URL prefixes used), then the figures should all relate to the one google account... or am I wrong?

    Translate
    BenPleysier
    Community Expert
    Community Expert
    Jun 9, 2020 4:45 PM UTC

    They are the different URL variations of the same domain name.

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!