This topic has 2 replies, 2 voices, and was last updated 9 months, 1 weeks ago ago by Luca Rossi
I hope this message finds you well.
I am currently in the process of integrating a Google Ads conversion action into my website, and I could use your expertise to ensure its successful implementation. I have attached an image for reference. [check image attached]
The main challenge I am facing is the need to incorporate an “OnClick” function or a similar mechanism that triggers the gtag_report_conversion function whenever a user interacts with the “Add to Basket” or “Add to Cart” buttons on my website. This functionality is crucial for the conversion action to be accurately tracked.
Could you please provide guidance on how I can seamlessly add the necessary “OnClick” [or any other function that will do the job] function to all relevant “ADD TO CARD AND ADD TO BASKET” buttons across my website? Any assistance or insights you can offer would be greatly appreciated.
Dear @chilly,
We hope this message finds you well.
Please be advised that the customization code you have inquired about falls beyond the purview of our standard support services. However, we would like to direct your attention to a resource that may prove helpful in addressing your query. You can find relevant information in the following article: https://stackoverflow.com/questions/71174756/cannot-add-google-ads-event-to-woocoommerce-add-to-cart-hook
We trust this will be of assistance to you.
Warm regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up