I want to use the contact hash in emails url’s instead of their email address for privacy. Like discussed here: Include hash in e-mails
But I want event tracking to function as well. In the API documentation for track_event_add (http://www.activecampaign.com/api/example.php?call=track_event_add) it doesn’t state whether or not you can pass the contact’s hash to associate the event with the contact. The example shows using the email.
The log function in Tracking.class.php in github (https://github.com/ActiveCampaign/activecampaign-api-php/blob/master/includes/Tracking.class.php) seems to use the email only too.
I am only a amateur programmer, so I hired a programmer to change my plugin to use hash instead of email, but they are running into problems so I thought I’d better ask here. It’s possible I don’t really understand what’s going on at all and am confusing different things.
If it is possible to use the contact hash with tracking, how?
(Or, maybe we need to use email and lookup the email from the hash? But that would cause an additional api call I would think?)