twollert
Active member
Thanks to Siropu I got this code to check the status of the Third Party Cookie Consent:
How can this be modified to
?
Thanks for your help!
Code:
<xf:set var="$cookieConsent" value="{$xf.app.request.getCookie('consent')}" />
<xf:if is="$cookieConsent && !contains($cookieConsent, '_third_party')">
no third party consent
<xf:else />
third party consent / no option selected yet
</xf:if>
How can this be modified to
- first option "no option selected yet / no third party consent" and
- second option "third party consent given"
?
Thanks for your help!