Pageview
Pageviews are called when recording a specific page in the application. Pageviews are specific to User defined by their unique_id.
post
https://api.salesmachine.io
/v1/track/event
Create a pageview

Example

1
curl -X POST -H "Content-Type: application/json" -u 'YOUR_API_TOKEN:' \
2
-d '{"contact_uid":"123456", "event_uid" : "pageview", "params" : {"account_uid" : "78910", "visit_url" : "http://myproduct.com/onboarding", "visit_ip" : "XX.XX.XX.XX", "visit_agent" : "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"}' \
3
'https://api.salesmachine.io/v1/track/event'
Copied!