Tracking Events

Event Tracking API

You can build your own referral system by using our event tracking API. After generating a referral code with our Referral Code Generation API endpoint, you can use this API endpoint to track events for the invitees.

Don't forget to replace the following placeholders with your own values when running the commands:

  • __API_KEY__  - your api key
  • __NAME__ - the invitee name (optional)
  • __EMAIL_ADDRESS__ - the invitee email address
  • __REFERRAL_CODE__ - referral code that the event is tracked for
  • __EVENT_NAME__ - event to be tracked, can be one of sign-up or conversion
curl -X POST \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer __API_KEY__" \
    -d '{"person_email":"__EMAIL_ADDRESS__","person_name":"__NAME__"}' \

Still need help? Contact Us Contact Us