CLH Posted October 25 Share Posted October 25 (edited) Hi all, I have set up a conversion action and trigger on Google Tag Manager to track outbound clicks made via the 'Book a Stay' button on our header. The video I am following says that the final step is to add a piece of code to the button <a> tag to complete this, but I'm unsure how as I can't directly edit the button coding. I am assuming I need to add something in the custom code injector, but some advice on exactly what I need to do to achieve this would be great. Here's the code (highlighted) that needs to be added to the button: <a onclick="return gtag_report_conversion('http://example.com/your-link');" href="http://example.com/your-link">Download now!</a> Following this guide: https://support.google.com/google-ads/answer/6331304?hl=en#zippy=%2Cset-up-conversion-tracking-using-the-google-tag Thanks in advance. Edited October 25 by CLH highlighting code Link to comment
tuanphan Posted October 27 Share Posted October 27 Hi, Can you share your site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment