hlxsites / vg-volvotrucks-us

Franklin site for https://www.volvotrucks.us/
https://www.volvotrucks.us/
Apache License 2.0
2 stars 6 forks source link

Bug: Major: Implement OneTrust css class consent to manage GTM tracking #453

Closed manuel-vara closed 1 year ago

manuel-vara commented 1 year ago

Add a class=“optanon-category-C0002” into loading script to allow OneTrust handle GTM script loading Performance cookies (Analytics). Add a class=“optanon-category-C0005” into loading script to allow OneTrust handle GTM script loading Social Media cookies (Facebook pixel).

girishdigrajkar commented 1 year ago

Confirmed as Fixed; Outstanding observation #457 is being tracked separately hence, closing this defect:

Observations: 1) Turn off Performance cookie and enable social media : GTM should NOT load & google analytics tracking code should not load : Passed

image

2) Turn On both Performance cookie & Enable social media : GTM should load & google analytics tracking code should load : Passed

image

3) Turn off both Performance cookie & social media : GTM should load ; google analytics should not load & no facebook etc social media requests should load : Fail as fbevents is triggered

image

4) Turn ON Performance cookie & disable social media cookies: GTM should load, google analytics should load ; Facebook event should not load : Failed as fbevents is triggered

image

** For both 3 & 4 observation GTM & Analytics behave as expected however fbevents are triggered for which we have

457 is already opened and being tracked separately. hence, closing this defect.