WebSite X5Help Center

 
Gert D.
Gert D.
User

Google Analytics/ Statistics  en

Author: Gert D.
Visited 1416, Followers 1, Shared 0  
Tags: xxxx

I want to "join" Google analytics. They instructed me to insert the following into the HTML text: [removed] (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[removed].insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-40060459-1', 'janke-creatief.nl'); ga('send', 'pageview'); [removed] In "General - Advanced"there is a specila table for Google Analytics. I inserted the text several times and evenso several times I could not open a pre show. What do I do wrong?

Posted on the
5 ANSWERS - 1 USEFUL - 1 CORRECT
Incomedia
Claudio D.
Incomedia

Hello Gert,

Are you trying to add it in V9 or V10?

Please check if the code is correct when you add it and you can also check with a new project to check if it works correctly.

Many thanks!

Read more
Posted on the from Claudio D.
Gert D.
Gert D.
User
Author

I am trying it in V9!

Read more
Posted on the from Gert D.
Incomedia
Claudio D.
Incomedia

Hello Gert,

Can you please write the link to your website so I can check what exactly happens with the code?

Many thanks!

Read more
Posted on the from Claudio D.
Gert D.
Gert D.
User
Author

You mean the URL? www.janke-creatief.nl

Is this enough?

I tried it in version 10, with the possibility "before tag <head> and there it seems to work. But this website is made in version 9 and I want to adapt ik quickly. 

Read more
Posted on the from Gert D.
Incomedia
Claudio D.
Incomedia

Hello Gert,

In Version 9 you can add the code in Step 1 - Expert - in the section for the statistic code.

Many thanks!

Read more
Posted on the from Claudio D.