Piceno Posted November 22, 2021 Share Posted November 22, 2021 Hello, for a while in google ads I have the notification for the installation of these enhanced advanced conversions, have any of you configured them? If possible, advise me with which form to do it? or how did you do it? I tried looking into addons but couldn't find anything Google introduction: https://support.google.com/google-ads/answer/9888656?hl=en-GB Thanks Link to comment Share on other sites More sharing options...
Jose Lorenzini Posted March 18, 2022 Share Posted March 18, 2022 (edited) hey guys i have done the enhanced conversion with prestashop first get this script from google gtag('config','AW-xxxxx', {'allow_enhanced_conversions':true}); then i am using this prestashop variable :: prestashop.customer.email if u open the console with the inspector web tools and then you type this prestashop.customer.email you will be able to see or find the email if the person is log in to your website. i am doing it with this but isnt working please let me know if you guys find any solutions thanks jose Edited March 18, 2022 by Jose Lorenzini (see edit history) Link to comment Share on other sites More sharing options...
Jose Lorenzini Posted April 9, 2022 Share Posted April 9, 2022 hi guys i am working on it and i need the customer variables for phone number and address , could some one help me and give me a clue , how or where i can get this variables. thanks Link to comment Share on other sites More sharing options...
Michael R Posted April 21, 2022 Share Posted April 21, 2022 On 4/9/2022 at 4:06 AM, Jose Lorenzini said: hi guys i am working on it and i need the customer variables for phone number and address , could some one help me and give me a clue , how or where i can get this variables. thanks Hey, I use prestashop.customer.addresses[999999].phone, [999999] is a variable: id_address that I can't make dynamic to retrieve it for each user. If you have an idea... Link to comment Share on other sites More sharing options...
Jose Lorenzini Posted April 21, 2022 Share Posted April 21, 2022 Hello Michael is that [999999] working for you? yes exactly that is when the customer is not log in then you get the [99999] variable, i am looking for that variable to access the javascript object. please let me know Thanks Link to comment Share on other sites More sharing options...
Michael R Posted April 22, 2022 Share Posted April 22, 2022 yes, when I block the id with the one I am testing yes it works we have tested several methods to try to recover the id dynamically without results. Namely that in our case we are 100% via gtm we do not put any code on the site to recover data. Link to comment Share on other sites More sharing options...
Jose Lorenzini Posted May 7, 2022 Share Posted May 7, 2022 Hi Michael yes looks like its not posible to get the value of that dinammycal id , i was trying now with javascript prototype but still in progress, have you done the enhanced conversion via GTM and its working? thanks for your answer! Link to comment Share on other sites More sharing options...
Jose Lorenzini Posted June 4, 2022 Share Posted June 4, 2022 Hi michael do you know which variables we need to add to connect the shop with enhanced conversion , i need the variables from : customer email and address please let me know google support has sent me this script:: var enhanced_conversion_data = { "email": yourEmailVariable, /*Change yourEmailVariable to the actual JavaScript variable name where you are storing the user’s email data. Do the same for the other variables below. Make sure that the values are not hashed. */ "phone_number": yourPhoneVariable, "first_name": yourFirstNameVariable, "last_name": yourLastNameVariable, "home_address": { "street": yourStreetAddressVariable, "city":yourCityVariable, "region": yourRegionVariable, "postal_code": yourPostalCodeVariable, "country": yourCountryVariable } }; 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