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 6 minutes ago, ndiaga said: You can do this by hand 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 11 minutes ago, 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. 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 1 minute ago, ndiaga said: Yes, it is possible but inside a module that knows where exactly to the data. A simple module can do the job. 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 14 minutes ago, 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. 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 5 minutes ago, ndiaga said: I will share the module here once ready for free. 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 17 minutes ago, ndiaga said: Hi Fabrizio, The module is available here : 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 1 hour ago, ndiaga said: Did you try it? 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