Jump to content

GoogleAds tracking add to cart as a conversion


Recommended Posts


in Prestashop I'm trying to set the "add to cart" as a conversion on GoogleAds. After having added the snippet in the <head> I also added the code to the button (trying the two ways below) but the clicks are not detected. Where am I wrong?

<button onclick = "goog_report_conversion ()" class = "button-action slide-button" action-button-data = "add-to-cart" type = "submit" {if! $ product.quantity} disabled {/ if} >
<button onclick = "goog_report_conversion (ls = 'Add to cart')" class = "button-action slide-button" data-button-action = "add-to-cart" type = "submit" {if! $ product. quantity disabled} {/ if}>

Thank you


Edited by kaferklaus (see edit history)
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...