vendor/adobe-web-sdk · vendor documented
Adobe Edge interact and collect need a datastream and an XDM timestamp
Not the AppMeasurement beacon. interact posts event.xdm. collect posts events[].xdm. datastreamId is the query. timestamp is ISO 8601 with a T. eventType is recommended.
timestamp is ISO 8601, not a space-separated Ads timestamp
Adobe wants 2017-09-26T15:52:25+00:00. A space instead of T fails the format.
What this pack matches
Rules
Codes are stable. A finding in CI, MCP, or the playground lands on the same id.
| Field | Required | What it checks | Rule ids | Source |
|---|---|---|---|---|
datastreamId |
required | It is the datastream ID. Adobe documents `datastreamId` on v2. v1 uses `configId`. Fix: Set `datastreamId` to the Datastream ID from the Adobe Experience Platform UI. | vendor.adobe-web-sdk.param.datastreamId.missingvendor.adobe-web-sdk.param.datastreamId.empty |
docs |
xdm.timestamp |
required | It is the ExperienceEvent timestamp. Adobe documents it as an ISO 8601 date-time. Fix: Send an ISO 8601 timestamp, such as `2017-09-26T15:52:25+00:00`. | vendor.adobe-web-sdk.body.xdm.timestamp.missingvendor.adobe-web-sdk.body.xdm.timestamp.emptyvendor.adobe-web-sdk.body.xdm.timestamp.invalid |
docs |
xdm.eventType |
recommended | It names the experience event. Adobe documents `eventType` on the XDM ExperienceEvent. Fix: Set `xdm.eventType`, such as `web.webpagedetails.pageViews`. | vendor.adobe-web-sdk.body.xdm.eventType.missingvendor.adobe-web-sdk.body.xdm.eventType.empty |
docs |
xdm.identityMap |
optional | It holds namespaces and identity values. Adobe documents `identityMap` on the XDM ExperienceEvent. An empty object matches nobody. Fix: Send at least one namespace in `xdm.identityMap`, or omit the field. | vendor.adobe-web-sdk.body.xdm.identityMap.empty |
docs |
Validate a payload
pixellint validate url "$ARTIFACT" --rulepack vendor/adobe-web-sdk
Try this failing payload in the playground. Adobe Edge interact missing datastreamId.
https://edge.adobedc.net/ee/v2/interact
cargo install pixellint
·
npm install pixellint