We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Closed
  • Closed by: Marek (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
Web Property ID UA-122215759-1
Code Version/Syntax Universal
Code Snippet...
ga ( ‘create’ , ‘UA-122215759-1’ , ‘auto’ );
ga ( ‘require’ , ‘ec’ );
No HTTP response detected

This ticket does not depend on any other tickets.

Marek (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 (innovads) 13 Jul 2018, 19:07

sorry Marek, i changed it. Please let try now

Marek (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 (innovads) 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.

error analytics.jpg (947.8 KiB)
Marek (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 (marek) 16 Jul 2018, 18:30

That is definitely not a theme issue

pablo gonzalez (innovads) 17 Jul 2018, 21:51

Hi Marek, i think it´s a problem with 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.

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>

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


Marek (marek) 18 Jul 2018, 09:41

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

pablo gonzalez (innovads) 18 Jul 2018, 21:49

Hi Marek please try now...Thanks

Marek (marek) 18 Jul 2018, 22:01

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

pablo gonzalez (innovads) 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.


Marek (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