Skip to content

Instantly share code, notes, and snippets.

@elephantsneverforget
Created September 2, 2022 12:29
Show Gist options
  • Save elephantsneverforget/06e04a639cde67059f4c4cbce0dca9c2 to your computer and use it in GitHub Desktop.
Save elephantsneverforget/06e04a639cde67059f4c4cbce0dca9c2 to your computer and use it in GitHub Desktop.
Tadpull purchase event
{
"schema": "iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4",
"data":
[
{
"e": "tr", //static transaction event type
"tr_id": "1089051935282", //unique int64 Shopify transaction id
"tr_tt": "12.86", //decimal Shopify transaction total
"tv": "js-3.4.0", //static tracker version
"tna": "sp_tadpull", //static sp_tadpull tracker name
"duid": "e5fdd529-58f5-4dc5-8424-a0b266666cba", //domain user id pulled from _tp_sp_id.* cookie, 1st value in "." deliminated list
"sid": "d79415e6-76a4-48c0-9ab0-80642f3ea883", //session id pulled from _tp_sp_id.* cookie, 5th value in "." deliminated list
"vid": "6", //session index pulled from _tp_sp_id.* cookie, 3rd value in "." deliminated list
"nuid": "94c7e00e-612f-4286-bef9-72cf48ef3759", //network user id pulled from sp cookie
"uid": "[email protected]", //transaction email address
"url": "https://tadpull.com/test", //page url
"refr": "https://tadpull.com", //referrer page url
"page": "Tadpull - Home", //page title
"aid": "JZAZVL", //tadpull pond account id ("ELEVAR" can be used for testing purposes)
"p": "web", //static web platform value
"cookie": "1", //static cookies enabled
"cs": "UTF-8", //web page’s character encoding
"lang": "en_US", //browser language
"res": "1280x1024", //screen/monitor resolution
"cd": "24", //browser color depth
"tz": "America/Los_Angeles", //user timezone
"dtm": "1660947150000", //timestamp when event occurred, as recorded by client device
"vp": "1105x390", //browser viewport width and height
"ds": "1090x1152", //web page width and height
"stm": "1660947160000"//timestamp when event was sent by client device to collector
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment