Event Tracking with Email linked Buttons

Hi,

My site has been live for a couple months. I implemented 5 contact buttons that link to various department emails. I added event tracking for analytics and everything was fine and working properly until about two weeks ago. Wix stepped in and said my buttons were corrupt and I need to delete and re-add. I did that, including reading the backend code and things just haven’t been the same.

The event code seems to be breaking the click function. Once I remove the event coding the buttons work. Any idea what I am missing?


Here is my code that previously worked, and works on other pages …


Here you can see that the action is recognizing that the click leads to the email trigger, but it’s not working.

Thanks
Jamie