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

Post Live: Pardot form to load based on cookie setting #458

Closed TomaszDziezykNetcentric closed 11 months ago

TomaszDziezykNetcentric commented 1 year ago

Need to check the oneTrust cookie setting and load the Pardot forms on the site. If the user has not accepted targeting cookie a message needs to be shown in the placeholder insted of the form.

Message should also contain a link to change the cookie setting.

shirin27 commented 12 months ago

@manuel-vara can you check the status of this ticket?

girishdigrajkar commented 11 months ago

Validated and able to get the correct result hence, closing the defect:

Validated on https://www.volvotrucks.us/trucks/vnr-electric/vnr-electric-contact/ URLs and when targeting cookies are accepted then only Form is displayed otherwise, Message with a link to change the cookie setting is displayed as expected.

1. Targetting cookie is not accepted by user:

image image

2. After accepting Targeting cookie :

image