Skip to content

Commit f2af9da

Browse files
author
prazvan
committed
update content event for mobile
1 parent b7214e3 commit f2af9da

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

components/fieldgroups/experience-event/experienceevent-content.example.1.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"xdm:experienceContent": {
3+
"xdm:idSource": "adobe-analytics",
4+
"xdm:channel": "web",
35
"xdm:experience": {
46
"xdm:experienceID": "https://domain.com:2023-01-01",
57
"xdm:experienceSource": "https://domain.com",
@@ -23,6 +25,10 @@
2325
"xdm:verticalPixelDepth": {
2426
"xdm:value": 0.0
2527
}
28+
},
29+
"xdm:experienceExtras": {
30+
"viewDurations": 15.5,
31+
"loadDurations": 2.3
2632
}
2733
},
2834
"xdm:assets": [
@@ -41,6 +47,10 @@
4147
},
4248
"xdm:assetViews": {
4349
"xdm:value": 20
50+
},
51+
"xdm:assetExtras": {
52+
"viewDurations": 8.2,
53+
"loadDurations": 1.1
4454
}
4555
},
4656
{
@@ -58,6 +68,10 @@
5868
},
5969
"xdm:assetViews": {
6070
"xdm:value": 30
71+
},
72+
"xdm:assetExtras": {
73+
"viewDurations": 12.7,
74+
"loadDurations": 0.8
6175
}
6276
}
6377
],

components/fieldgroups/experience-event/experienceevent-content.schema.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@
2121
"type": "object",
2222
"description": "Experience information content.",
2323
"properties": {
24+
"xdm:idSource": {
25+
"title": "ID Source",
26+
"type": "string",
27+
"description": "Content ID source."
28+
},
29+
"xdm:channel": {
30+
"title": "Channel",
31+
"type": "string",
32+
"description": "Content channel."
33+
},
2434
"xdm:experience": {
2535
"title": "Content Experience",
2636
"description": "Content experience tracking",
@@ -78,6 +88,16 @@
7888
"$ref": "https://ns.adobe.com/xdm/data/measure"
7989
}
8090
}
91+
},
92+
"xdm:experienceExtras": {
93+
"title": "Experience Extras",
94+
"type": "object",
95+
"meta:xdmType": "map",
96+
"description": "Additional experience properties.",
97+
"additionalProperties": {
98+
"type": ["string", "number", "integer", "boolean", "object", "array"],
99+
"description": "Additional property value of any type"
100+
}
81101
}
82102
}
83103
},
@@ -150,6 +170,16 @@
150170
"title": "Asset Views",
151171
"description": "Content asset views.",
152172
"$ref": "https://ns.adobe.com/xdm/data/measure"
173+
},
174+
"xdm:assetExtras": {
175+
"title": "Asset Extras",
176+
"type": "object",
177+
"meta:xdmType": "map",
178+
"description": "Additional asset properties.",
179+
"additionalProperties": {
180+
"type": ["string", "number", "integer", "boolean", "object", "array"],
181+
"description": "Additional property value of any type"
182+
}
153183
}
154184
}
155185
}

0 commit comments

Comments
 (0)