Skip to content

SMS

Report a visit that came from an SMS campaign link.

View as Markdown llms.txt

Send this INTERACTION event when a visitor lands on your site from an SMS campaign link. The fields are derived from the UTM parameters of the landing page URL.

Given a landing page URL like:

https://example.com/?utm_source=segmentify&utm_campaign=sms_0000000000000000&utm_content=static&utm_medium=sms

UTM parameter Event field Example
utm_medium type sms
utm_campaign instanceId sms_0000000000000000
utm_content interactionId static

The API key is sent as the apiKey query parameter and as the x-sfy-api-key header.

Example body

{
"name": "INTERACTION",
"userId": "1234567890123456789",
"sessionId": "9876543210987654321",
"device": "PC",
"lang": "EN",
"currency": "EUR",
"nextPage": false,
"dnp": false,
"params": {},
"os": "macOS",
"region": "",
"email": "",
"type": "sms",
"interactionId": "static",
"instanceId": "sms_0000000000000000"
}