Tracking Users (Shopify Only)
/track/user
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
success: true
}API Example
// Prepare Request input data
const requestBody = {
id: 'lksjfiwowior', // Customer's unique identifier.
attributes:{
// Reserved attributes, used for campaigns.
name: 'John Wick',
email: '[email protected]',
mobile: '9876543210',
// Add your own custom customer variables here, ie:
subscriptionType: 'pro',
region: 'Mumbai',
totalPurchaseTillNow: 30000
}
};
// Call API
const request = require('request-promise');
request({
method: 'POST',
uri: 'https://dc.growlytics.in/track/user',
headers: {
Accept: 'application/json',
'x-growlytics-key': '<GROWLYTICS-API-KEY>'
},
body: requestBody
});Terms & Considerations
Last updated
Was this helpful?
