WebSite X5Help Center

 
Gert D.
Gert D.
User

Google Analytics/ Statistics  en

Autor: Gert D.
Visitado 1423, Followers 1, Compartido 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?

Publicado en
5 RESPUESTAS - 1 ÚTIL - 1 CORRECTO
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!

Leer más
Publicado en de Claudio D.
Gert D.
Gert D.
User
Autor

I am trying it in V9!

Leer más
Publicado en de 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!

Leer más
Publicado en de Claudio D.
Gert D.
Gert D.
User
Autor

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. 

Leer más
Publicado en de 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!

Leer más
Publicado en de Claudio D.