Fabrizio Carloni Posted August 24, 2021 Share Posted August 24, 2021 Hello to all, to set up remarketing with Google Ads I need to add the following event snippet code to the order-confirmation.tpl file: {literal} <script> gtag('event', 'page_view', { 'send_to': 'AW-XXXXXXXXXX', 'value': 'replace with value', 'items': [{ 'id': 'replace with value', 'google_business_vertical': 'retail' }] }); </script> {/literal} What I don't understand is what should I put in correspondence with 'value' and 'id' since the tag code says 'replace with value'. On https://support.google.com/google-ads/answer/7305793?hl=en#zippy=%2Cretail I found this documentation: With prestashop what parameter should I put in correspondence with 'value' and 'id'? I tried searching the forums but unfortunately I didn't find anything interesting. Can any of you please help me? Thanks in advance, Fabrizio. Link to comment Share on other sites More sharing options...
Nickz Posted August 24, 2021 Share Posted August 24, 2021 On 8/24/2021 at 7:07 PM, ndiaga said: You can do this by hand Expand Did you mean to write you cannot? Link to comment Share on other sites More sharing options...
Fabrizio Carloni Posted August 24, 2021 Author Share Posted August 24, 2021 On 8/24/2021 at 7:07 PM, ndiaga said: Hi, You can not do this by hand . You should get the products during order confirmation and send the ids. Only a module can do it. Expand I thought I would do it by hand by putting a variable on 'replace with value' such as eg. {$order.totals} for value or something like that. It is not possible? Best regards, Fabrizio Carloni. Link to comment Share on other sites More sharing options...
Fabrizio Carloni Posted August 24, 2021 Author Share Posted August 24, 2021 On 8/24/2021 at 7:24 PM, ndiaga said: Yes, it is possible but inside a module that knows where exactly to the data. A simple module can do the job. Expand If possible I would like to avoid buying a module just for this. I was hoping for a simpler solution also because from the instructions of Google ADS it says to simply add tags see https://support.google.com/google-ads/answer/2476688?hl=en Best regards, Fabrizio. Link to comment Share on other sites More sharing options...
Fabrizio Carloni Posted August 24, 2021 Author Share Posted August 24, 2021 On 8/24/2021 at 7:55 PM, ndiaga said: Yes, but here you have to adapt it and call it in the right place. They just give you general information but you need adapt it to plateform you are using. Expand I was hoping it would be easier without the need to create a module. Thanks anyway. Best regards, Fabrizio Carloni. Link to comment Share on other sites More sharing options...
Fabrizio Carloni Posted August 24, 2021 Author Share Posted August 24, 2021 On 8/24/2021 at 8:25 PM, ndiaga said: I will share the module here once ready for free. Expand Okay. Thanks! Here you will find all the instructions https://support.google.com/google-ads/answer/7559130?hl=en Best regard, Fabrizio Carloni. Link to comment Share on other sites More sharing options...
Fabrizio Carloni Posted August 24, 2021 Author Share Posted August 24, 2021 On 8/24/2021 at 10:09 PM, ndiaga said: Hi Fabrizio, The module is available here : Expand Thank you so much. I'll try it tomorrow and let you know. Thanks again, Fabrizio. Link to comment Share on other sites More sharing options...
Fabrizio Carloni Posted August 25, 2021 Author Share Posted August 25, 2021 On 8/25/2021 at 3:28 PM, ndiaga said: Did you try it? Expand Not yet ... as soon as I can I'll let you know. Best regards, Fabrizio Carloni. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now