From be28aab1c00f4643f33002c7e5f35ea1ceb6e26f Mon Sep 17 00:00:00 2001 From: Daniel Ordax Date: Fri, 13 Sep 2019 17:14:50 +0200 Subject: [PATCH] fix set tracking params --- includes/ActiveCampaign.class.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/includes/ActiveCampaign.class.php b/includes/ActiveCampaign.class.php index 616ba99..dfb214f 100644 --- a/includes/ActiveCampaign.class.php +++ b/includes/ActiveCampaign.class.php @@ -70,6 +70,17 @@ function __construct($url, $api_key, $api_user = "", $api_pass = "") { parent::__construct($url, $api_key, $api_user, $api_pass); } + /** + * Set Tracking credentials + * + * @param string $track_actid + * @param string $track_key + */ + function setTrackCredentials($track_actid, $track_key) { + $this->track_actid = $track_actid; + $this->track_key = $track_key; + } + /** * Set the version on the url *