Tracking Events (Shopify Only)
Use this api document only if you have integrated Growlytics Connector app from shopify app store.
Last updated
Use this api document only if you have integrated Growlytics Connector app from shopify app store.
Last updated
Track an event by providing an event name, customer id, and event properties. Sending events to Growlytics requires a POST request with a JSON payload specifying the event information.
POST
https://dc.growlytics.in/track/event/v2
Using /track/event/v2
API, you can add create events to Growlytics.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Growlytics supports Number, BigInt, String, Boolean
and Date
data types for event property values. For further details refer to event tracking considerations.
Custom Event names must be less than 50 characters.
Custom Event Attribute names are case-sensitive.
Allowed data types for event attributes:String
, Number
, Boolean
, Date,
Map
and Custom
. For further details refer to event tracking considerations.
A maximum of 50 Event Attributes allowed per custom event.
Data types of each event attributes are defined when they are tracked for the first time. For the second time, if the data type is not matching with the original data type, attribute values will be ignored.
x-growlytics-key*
String
Growlytics API Key
customerId*
string
Customer id. Customer's unique identifier. Your system's customer id.
name*
string
Event Name
time*
number
Event time. Unix EPOCH time in Milliseconds.
attributes*
object
List of Attributes of Event