ActiveCampaign / activecampaign-api-php

MIT License
115 stars 76 forks source link

fix set tracking params #109

Open dordax opened 5 years ago

dordax commented 5 years ago

There's a bug dropped at method AC_Tracking::log. Properties track_actid and track_key are never set.

Added a setter. Use example:

$this->client = new ActiveCampaign(API_ENDPOINT, API_KEY);
$this->client->setTrackCredentials(TRACK_ACTID, TRACK_KEY);