Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesnt work #4

Open
AreSee opened this issue Feb 8, 2021 · 4 comments
Open

Doesnt work #4

AreSee opened this issue Feb 8, 2021 · 4 comments

Comments

@AreSee
Copy link

AreSee commented Feb 8, 2021

Hi,

the code doesnt work.
You must change the Smarty Variable in body.tpl and header.tpl:
from {$gtm_id} --- to --- {literal}{$gtm_id}{/literal}

Inside the "{literal} {/literal}" Block, no Smarty var will be replaced.

[EDIT]
Sorry.. the issue is only at the ZIP Archive.

@Jack-Drapaczek
Copy link

Hi I have question:
1- I have prestashop ver 1,7,4,4
2 - i edit in zip file 2 files body.tpl and header.tpl and place between {literal} {/literal} code from my TAG menager like:
in file head.tpl

<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PBXXXXX);</script>

where GTM-PBXXXXX is my TAG menager conteiner ID

and in file
body.tpl

<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PBXXXXX" height="0" width="0" style="display:none;visibility:hidden"></iframe>

where GTM-PBXXXXX is my TAG menager conteiner ID

3-edited zip file sucesfuly instal to my prestashop
4- instaled module is v1.0.0 - z Marijus Siliunas in configuration menu in secrion " Google Tag Manager ID" should i put again my TAG menager conteiner ID ( sample: GTM-PBXXXXX) or my my goodle tag menager ID acound examples ( 6003XXXXXX) ( 10 dig number)??

I ask becouse my google Add does not see my data from my container after i conect it ??

How can i veryfie if my prestashop i sucesful conected to my Tag menager?

@Pierre74500
Copy link

Hello
Could you please publish the correct zip file ?
I am not expert on codes :-(

Thanks in advance

@roberto3211
Copy link

It works (tested on version 1.7.6.9), you have just to extract it. I do not know why, it was included in a second zip envelop

@melmelimel
Copy link

Hi, thank you for the module. It seems that the datalayer doesn't show the right info in order to send it to Google Analytics. There is no conversion and no transactions in the statistics. 

Is there a new version of the module that works?

 

Many thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants