Jump to content

Google enhanced conversions for PS 1.7


Piceno

Recommended Posts

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

  • 3 months later...

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 by Jose Lorenzini (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
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

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

  • 2 weeks later...
  • 4 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...