analytics
GET
https://hermeticor.com /v1/analytics/conversions/{id} One conversion with the touches credited for it, the event that triggered it and the activity around it
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/analytics/conversions/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"conversion": {
"id": "string",
"profileId": "string",
"ref": "string",
"eventId": "string",
"goalKey": "string",
"attributedKind": "string",
"attributedId": "string",
"jobId": "string",
"channel": "string",
"variantKey": "string",
"stepKey": "string",
"model": "string",
"windowHours": 0,
"valueMinor": 0,
"currency": "string",
"touchAt": "2024-01-01T00:00:00Z",
"at": "2024-01-01T00:00:00Z"
},
"attributions": [
{
"id": "string",
"profileId": "string",
"ref": "string",
"eventId": "string",
"goalKey": "string",
"attributedKind": "string",
"attributedId": "string",
"jobId": "string",
"channel": "string",
"variantKey": "string",
"stepKey": "string",
"model": "string",
"windowHours": 0,
"valueMinor": 0,
"currency": "string",
"touchAt": "2024-01-01T00:00:00Z",
"at": "2024-01-01T00:00:00Z"
}
],
"event": null,
"activities": []
}Schema
conversionobjectrequiredShow child parameters
idstringrequiredprofileIdstringrequiredrefstringrequiredeventIdstringrequiredgoalKeystringrequiredattributedKindstringrequiredattributedIdstringrequiredjobIdstringrequiredchannelstringrequiredvariantKeystringrequiredstepKeystringrequiredmodelstringrequiredwindowHoursintegerrequiredvalueMinorintegerrequiredcurrencystringrequiredtouchAtstringrequiredatstringrequiredattributionsItemsItem87[]requiredShow child parameters
idstringrequiredprofileIdstringrequiredrefstringrequiredeventIdstringrequiredgoalKeystringrequiredattributedKindstringrequiredattributedIdstringrequiredjobIdstringrequiredchannelstringrequiredvariantKeystringrequiredstepKeystringrequiredmodelstringrequiredwindowHoursintegerrequiredvalueMinorintegerrequiredcurrencystringrequiredtouchAtstringrequiredatstringrequiredeventobjectrequiredShow child parameters
idstringrequirednamestringrequiredoccurredAtstringrequiredvalueMinorintegerrequiredcurrencystringrequiredpropertiesobjectrequiredactivitiesobject[]requiredShow child parameters
idstringrequiredkindstringrequiredsummarystringrequiredatstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/analytics/conversion-folders Conversions grouped by folder, with each conversion's count and value in the range
Parameters
fromstringqueryrequiredtostringqueryrequiredlimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/analytics/conversion-folders?from=<from>&to=<to>" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"folder": "string",
"conversions": 0,
"valueMinor": 0,
"labels": [
{
"label": "string",
"event": "string",
"conversions": 0,
"valueMinor": 0
}
]
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
folderstringrequiredconversionsintegerrequiredvalueMinorintegerrequiredlabelsobject[]requiredShow child parameters
labelstringrequiredeventstringrequiredconversionsintegerrequiredvalueMinorintegerrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/analytics/conversion-labels Code samples
cURL
curl -X GET "https://hermeticor.com/v1/analytics/conversion-labels" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"main": "string",
"items": [
{
"label": "string",
"event": "string",
"valueProperty": "string",
"targetMinor": 0,
"folder": "string"
}
]
}Schema
mainstringrequireditemsConversionsItem[]requiredShow child parameters
labelstringrequiredeventstringrequiredvaluePropertystringtargetMinorintegerfolderstringPOST
https://hermeticor.com /v1/analytics/conversion-labels Request body
application/json
labelstringrequiredeventstringrequiredvaluePropertystringtargetMinorintegerfolderstring{
"label": "string",
"event": "string",
"valueProperty": "string",
"targetMinor": 0,
"folder": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/analytics/conversion-labels" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"string","event":"string","valueProperty":"string","targetMinor":0,"folder":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"label": "string",
"event": "string",
"valueProperty": "string",
"targetMinor": 0,
"folder": "string"
}Schema
labelstringrequiredeventstringrequiredvaluePropertystringtargetMinorintegerfolderstringPOST
https://hermeticor.com /v1/analytics/conversion-labels/bulk-create Request body
application/json
itemsConversionsItem2[]requiredShow child parameters
labelstringrequiredeventstringrequiredvaluePropertystringtargetMinorintegerfolderstring{
"items": [
{
"label": "string",
"event": "string",
"valueProperty": "string",
"targetMinor": 0,
"folder": "string"
}
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/analytics/conversion-labels/bulk-create" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"items":[{"label":"string","event":"string","valueProperty":"string","targetMinor":0,"folder":"string"}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/analytics/conversion-labels/bulk-delete Request body
application/json
labelsstring[]required{
"labels": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/analytics/conversion-labels/bulk-delete" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"labels":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"deleted": 0
}Schema
deletedintegerrequiredGET
https://hermeticor.com /v1/analytics/conversion-labels/{label} Parameters
labelstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/analytics/conversion-labels/{label}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
PUT
https://hermeticor.com /v1/analytics/conversion-labels/{label} Parameters
labelstringpathrequiredRequest body
application/json
eventstringrequiredvaluePropertystringtargetMinorintegerfolderstring{
"event": "string",
"valueProperty": "string",
"targetMinor": 0,
"folder": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/analytics/conversion-labels/{label}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"event":"string","valueProperty":"string","targetMinor":0,"folder":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated