Jump to content

Google Analytics


Guest peanutp

Recommended Posts

Guest peanutp

Hello - Since using the google analytics service on my site I have noticed the time to load the site index and pages is sometimes slow. The javascript code I used from google was inserted just before the </body> tag, so in my mind the code should not have executed until my page had finished. The only thing I can think of is that I was using the https link for google, as I used to get the annoying, "some items are insecure" etc..... message. I know https takes longer to load, so perhaps this is causing the issue??

Has anyone experienced this with google and cubecart before???? I really want to keep this service, as the stats they provide are useful and easier to translate than my server hosting companies logs.

I am pretty sure it is the analytics service causing the problem; as soon as I removed the code from the index and cart global templates, all was well again and the response times seem much quicker.

Any help or suggestions are greatly appreciated.

Cheers

Pete

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...