Action: Add visit
The id or email of the related user. (Optional in case affiliate_id is set).
The id or email of the related affiliate. (Optional in case user_id is set).
The ip of the person who should be assigned to the visit. (Will be anonymized in case IP logging is disabled within AffiliateWP).
Set a visit campaign. This can be a identifier you created for a specific project. E.g. Summer Promotion
Some more details of where the user comes from. E.g.: cta-button
A URL the visitor arrived at.
A referral URL from where the visitor came from If nothing is set, it will be counted as direct traffic.
The date and time of creation of the visit. In case nothing is set, the current time is used.
Advanced: Register a custom action after this webhook was fired.
More available endpoints
If you want to learn more about a specific endpoint, simply click on it.