• Closed by: Marek
  • Closed on: 16.11.18, 18:24
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12545 - problem with google analytics

Hi, im trying to config Google analytics in the module but it´s not working. Please take a look the error who tag assistant show to me…and please could you give an url who have installed Venedor template? i must check the load speed because my web it´s slow , really slow

URL:http://www.proinsol.com.ar/es/ Redirect:http://www.proinsol.com.ar/ Time:Jul 12, 2018 07:14:16 PM (15 seconds after Page load 1)
Page Load:16.88 s
Tags:1 in Total 1 Errors
Metadata
Web Property ID UA-122215759-1
Code Version/Syntax Universal
Code Snippet… ga ( ‘create’ , ‘UA-122215759-1’ , ‘auto’ );
ga ( ‘require’ , ‘ec’ );
Cookies
_ga
GA1.3.1685941717.1531339662
Optimizations
No HTTP response detected

Comments

Marek 13 Jul 2018, 14:49

Hi, pablo.
I’m not able to login to your back office to check out your settings

pablo gonzalez 13 Jul 2018, 19:07

sorry Marek, i changed it. Please let try now

Marek 16 Jul 2018, 11:13

As I can see the module is configured correctly and should works fine. There is no more such error

pablo gonzalez 16 Jul 2018, 15:11

Hi Marek how are you?
Please check this image, there is the error and i don´t have analytics yet.
Thanks

Marek 16 Jul 2018, 18:30

Google analytics code is there, I have no idea what’s wrong. As I know that is only one code you must have in your website to make it work

Marek 16 Jul 2018, 18:30

That is definitely not a theme issue

pablo gonzalez 17 Jul 2018, 21:51

Hi Marek, i think it´s a problem with 1.7.3.3 version of PS.
Please could you insert this code by me in the heather ? because i can´t find the heather, i follow this path /htdocs/themes/venedor/templates/_partials/heather.tpl but it isn´t the correct one.
Thanks!!

This is my google analytic code insertion

<!– Global site tag (gtag.js) - Google Analytics –>
<script async src=”https://www.googletagmanager.com/gtag/js?id=UA-122507220-1“></script>
<script>

window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-122507220-1');

</script>

Marek 18 Jul 2018, 09:41

I’m not able to connect to your server through FTP

pablo gonzalez 18 Jul 2018, 21:49

Hi Marek please try now…Thanks

Marek 18 Jul 2018, 22:01

The code has been added to the file /htdocs/themes/venedor/templates/_partials/head.tpl

pablo gonzalez 08 Aug 2018, 16:19

Discrepancia entre el número de clics y de sesiones error
La URL de destino http://www.proinsol.com.ar presenta una discrepancia de datos. No hemos podido realizar otro análisis de la página de destino debido a la existencia de un archivo robots.txt.

ESO ES LO QUE ME DICE GOOGLE ANALYTICS…ESTARA MAL EL CODIGO DE ROBOT.TXT?

Marek 08 Aug 2018, 17:44

How it’s related to the theme? That is a question to your prestashop configuration, I’m not sure I can help you with that