Track event

Track an event using event tracking. Event Tracking must be toggled on in your ActiveCampaign account on "Website" -> "Site Tracking" (scroll down to Event tracking) in order for this call to work.

post/event

Request

  • Base URL
    https://trackcmp.net
  • URL
    https://trackcmp.net/event
  • Auth
    none required

Headers

Content-Typestring required

Value needs to be "application/x-www-form-urlencoded"

Request body

keystring required

This value is unique to your ActiveCampaign account and can be found named "Event Key" on "Website" -> "Site Tracking" (scroll down to Event tracking) inside your ActiveCampaign account.

eventstring required

The name of the event you wish to track. (Max of 32 Characters)

eventdatastring

A value you wish to store for the event.

actidstring required

This value is unique to your ActiveCampaign account and can be found named "actid" on "Website" -> "Site Tracking" (scroll down to Event tracking) API.

visitstring json required

The json-encoded email address of the contact you wish to track this event for. {"email":"visitor@example.com"})

Response

200

successinteger
messagestring

Example response

{
  "success": 1,
  "message": "Event spawned"
}

Changes

No recorded changes to this operation across all 1 revision of this API.