We are successfully sending screenview events to adobe analytics with the payload below
"payload": {
"ACPExtensionEventData": {
"xdm": {
"web": {
"webPageDetails": {
"isHomepage": false,
"isErrorPage": false,
"pageViews": {
"value": 1
},
"name": "name",
"url": "https://site.com"
}
},
"eventType": "web.webpagedetails.pageViews",
"_experience": {
"analytics": {
"customDimensions": {
"eVars": {
"eVarxx": "value",
"eVar79": "value"
},
"props": {
"propxx": "value",
"propxx": "value"
}
}
}
}
}
},However our link click payload doesn't work.
I keep going to these instructions here: https://experienceleague.adobe.com/en/docs/analytics/implementation/aep-edge/hit-types.
I see that a xdm.web.webInteraction.type AND (xdm.web.webPageDetails.name or xdm.web.webPageDetails.url) are needed. But that doesn't make sense to me since it <<sets xdm.web.webPageDetails.name and xdm.web.webPageDetails.URL to null>>
Does that make sense to anyone?
Also, below is the schema, why would it need "name" and URL values under webPageDetails instead of webInteraction?
Views
Replies
Total Likes
Hi @BertBru ,
The documentation does not say that xdm.web.webPageDetails.name or xdm.web.webPageDetails.url are needed, what it says is if xdm.web.webPageDetails.name or xdm.web.webPageDetails.url exist alongwith xdm.web.webInteraction.type AA will treat the event as link click and ignore xdm.web.webPageDetails.name or xdm.web.webPageDetails.url value (setting them as null).
Now for the actual issue of not seeing link events getting tracked, please try sending all these attributes on event calls,
- xdm.web.webInteraction.type
- xdm.web.webInteraction.name
- xdm.web.webInteraction.linkClicks.value //set as 1 for link clicks
- xdm.eventType //set it as web.webinteraction.linkClicks
This should fix the issue.
Cheers!
Views
Replies
Total Likes
Hi @BertBru
xdm.web.webPageDetails.url (or name) is required because Adobe needs page-context to classify the event type.
Once you set xdm.web.webInteraction.type to link, download, exit, or other, the Edge Network correctly treats it as a Non-Page View (link) event and maps it to an Adobe Analytics link call.
In Adobe Analytics, link calls do not contain pageName or pageURL, so the Edge sets those fields to NULL in the final Analytics hit.
xdm.web.webPageDetails.url is set by default (where the click happens) but xdm.web web.webinteraction.Name or url is actual landing URL/Name of the click.
Views
Replies
Total Likes
Views
Likes
Replies