Tracking Event using external Javascript Code

Hi, how’s everyone? Hope everything goes well.
I have one question, I would like to implement a tracking code (javascript code) for my vendor to start tracking the button clicks. Does anyone know how to impleent this ysing the Dev Mode?

Code as below:

}) ; 

}

Thank you.

Hi! To add Tracking Event, please follow my steps.

  1. Open the Wix Dashboard.

  2. Look for Settings.

  3. Scroll Down to Advanced Settings.

  4. Click Tracking and Analytics.

  5. Click the button to add a New Tool.

  6. Click the Custom Code and add your code.
    ~Screenshots Attached~

~Haiden~

You can follow the examples here that will walk you through it.
https://support.wix.com/en/article/embedding-custom-code-to-your-site

Also, to set up your own tracking events in Wix, then look here.
https://support.wix.com/en/article/corvid-tutorial-sending-tracking-and-analytics-events
https://support.wix.com/en/article/tracking-click-events-with-google-tag-manager

Wix YouTube Tutorial
Corvid by Wix | How to Use Corvid with Marketing Tools to Create Custom Events

API Reference to read up at.
https://www.wix.com/corvid/reference/wix-window.html#trackEvent
https://www.wix.com/corvid/reference/wix-window.trackingParameters.html
https://www.wix.com/corvid/reference/wix-window.trackingParameters.html#CustomEvent