Events
Set event currency
Set the currency of an event by its name. Use this instead of updating an event by its goal code. If more than one event row shares the name, they are treated as one event and every matching row is updated.
Permissions: Requires write access to the site (manage:{site_id}).
Returns: Returns an updated object on success. Otherwise, this call returns an error.
post/sites/{site_id}/events/currency
Path parameters
site_idstring required
Example:CDBUGS
The ID of the site. This is the same string you use in your tracking code. Example: CDBUGS
Request body
Example request
{
"name": "Purchase early access",
"currency": "pound"
}Response
Successful response
Changes
Changed in 1 of the 2 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○