How to acess the Site Tracking Cookie to get user email

Hi guys,
I have an issue and can’t figure out or find any solution in the internet. I trying to setup some Event Trackings, using GTM, on my site but always i stop in the same point, “how i associate this event with some email, so that information appears in the AC Contacts tab relationed to somebody”. I saw in some sites its possible to get the email of the current user using information inside the Site Tracking cookie (Ac). But i dont find any information about this cookie or how i do to get this information, please someone can help me.

You can specify an email address when using the Event Tracking API to track an event and that event will then be associated with that contact. More information is available here: https://developers.activecampaign.com/reference#event-tracking