We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm not seeing anything in the Python API that allows for Site and Event Tracking.
http://www.activecampaign.com/api/example.php?call=track_event_add
The text was updated successfully, but these errors were encountered:
You can create your own Event.py with a class like this
`class Event(ActiveCampaign):
def __init__(self, url, api_key): self.url = url self.track_url = 'https://trackcmp.net/event?' self.api_key = api_key ActiveCampaign.__init__(self, url, api_key) def add(self, params, post_data): request_url = '%s&api_key=%s&api_action=track_event_add&api_output=%s' % (self.track_url, self.api_key, self.output) post_data = urllib.urlencode(post_data) req = urllib2.Request(request_url, post_data) response = json.loads(urllib2.urlopen(req).read()) return response`
then run
ac = ActiveCampaign(ACTIVECAMPAIGN_URL, ACTIVECAMPAIGN_API_KEY) ac.api('event/add', post_data)
Sorry, something went wrong.
No branches or pull requests
I'm not seeing anything in the Python API that allows for Site and Event Tracking.
http://www.activecampaign.com/api/example.php?call=track_event_add
The text was updated successfully, but these errors were encountered: