How to get and transfer data of clicking times to GA

Hi guys

I have a Wix site, I insert a button and I put a link to another website under that button. I have also connected my Wix site to my Google Analytics.

The question is how can I know how many clicks on that button and how can I transfer that data to my Google Analytics account?

Thanks guys.

You must then hook into wixWindow.TrackEvent. Add that when you click the button and you will be able to track clicks on that button in Google Analytics.

Read more
http://www.wix.com/code/reference/wix-window.html#trackEvent

Hi Andreas

I have read the instruction but I’m not sure what to do. Coud you give me a code from this button: https://www.mendospizza.dk/


Thanks for your help