I want to use Google Ads conversions in order to track conversions, but I need to add a function on click to the button. As I can find no option to the edit the code of the button I'm unable to do this. Please help me with it
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
![feature fixed.png](https://static.wixstatic.com/media/3bfa8a_f845e1016b8a49758acdd6edd6610c3b~mv2.png/v1/crop/x_0,y_2,w_852,h_508/fill/w_104,h_62,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/feature%20fixed.png)
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
If you are doing it through your own custom code, then you should just add it to the button's onClick call in your code.
https://www.wix.com/corvid/reference/$w.Button.html#onClick
If you aren't using code for your site, then you are best going through Wix Support for more help as this forum is only for code users.
https://support.wix.com/en/article/adding-a-conversion-tracking-tag-to-your-wix-site