How to ad On Click Event to Buttons

I have multiple buttons that I would like to track for Google Ads. They have provided me an On-Click code that I need to translate into Wix compatible code.

I am very novice at this process. Please be as specific as possible as to what I do with the new code and where I put it.

Here is the Code from Google:
Submit

Here is my current code section for one of the buttons:

export function button7_click(event) {
//Add your code for this event here:
}

Wix allows you to add Google Ads already.
https://support.wix.com/en/article/adding-your-remarketing-code-to-your-wix-site
Complete Section List
https://support.wix.com/en/marketing-tools-analytics/marketing-integrations-tracking

Wix allows you to add Google Adsense already.
https://support.wix.com/en/apps-made-by-wix/google-adsense

Have a read of these links above and if they are not what you are looking for, then please come back and ask again.

Hello, thanks for the help. Unfortunately those links are not useful for me.

The wix support asked that I go this route and request on this forum to have that code translated. Is it possible for you to do?