Commit 2ad7356
Add looping video
* Add link name tracking on buttons and component tracking on the video container
* explicitly call clickComponent events on looping videos
* add explicit clickComponent tracking for play and mute buttons on looping videos
* update ophan tracker-js version
* bump support-dotcom-components to 7.5.0
* Update the loop video schema to include the atom id. This will be used for tracking.
* Remove click component event tracking as it is not required. We recieve enough tracking from the data-link-name
* Add data-link play / pause tracking to the video element so clicking on the video tracks this action.
* Only track plays when the play icon is clicked. It won't appear when the video is playing so it should never track a pause action.
* Track mute or unmute
* Align data-component with link name tracking
* Remove unnecessary commit
* Lift tracking into audio click function
---------
Co-authored-by: Jon Flynn <[email protected]>data- tracking for ophan (#14156)1 parent 4d6ba05 commit 2ad7356
File tree
10 files changed
+1122
-31
lines changed- dotcom-rendering
- src
- client/ophan
- components
- Card
- frontend/schemas
- model
- types
10 files changed
+1122
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
| |||
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
76 | 92 | | |
77 | 93 | | |
78 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
| 918 | + | |
918 | 919 | | |
919 | 920 | | |
920 | 921 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
264 | 267 | | |
265 | 268 | | |
266 | 269 | | |
| 270 | + | |
| 271 | + | |
267 | 272 | | |
268 | 273 | | |
269 | 274 | | |
| |||
339 | 344 | | |
340 | 345 | | |
341 | 346 | | |
| 347 | + | |
342 | 348 | | |
343 | 349 | | |
344 | 350 | | |
| 351 | + | |
345 | 352 | | |
346 | 353 | | |
347 | 354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
| |||
157 | 162 | | |
158 | 163 | | |
159 | 164 | | |
| 165 | + | |
160 | 166 | | |
161 | 167 | | |
162 | 168 | | |
| |||
172 | 178 | | |
173 | 179 | | |
174 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
175 | 184 | | |
176 | 185 | | |
177 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5247 | 5247 | | |
5248 | 5248 | | |
5249 | 5249 | | |
| 5250 | + | |
| 5251 | + | |
| 5252 | + | |
5250 | 5253 | | |
5251 | 5254 | | |
5252 | 5255 | | |
| |||
5264 | 5267 | | |
5265 | 5268 | | |
5266 | 5269 | | |
| 5270 | + | |
5267 | 5271 | | |
5268 | 5272 | | |
5269 | 5273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3914 | 3914 | | |
3915 | 3915 | | |
3916 | 3916 | | |
| 3917 | + | |
| 3918 | + | |
| 3919 | + | |
3917 | 3920 | | |
3918 | 3921 | | |
3919 | 3922 | | |
| |||
3931 | 3934 | | |
3932 | 3935 | | |
3933 | 3936 | | |
| 3937 | + | |
3934 | 3938 | | |
3935 | 3939 | | |
3936 | 3940 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments