Consentimiento de Cookies en Webflow
La siguiente guía le mostrará cómo cargar el script de PixelFlow en Framer utilizando el plugin gratuito de consentimiento de cookies de Terms Feed:
https://www.termsfeed.com/cookie-consent/#
Elija sus preferencias de cumplimiento (lo más probable es que deba seleccionar la directiva GDPR)
Elija un estilo para el banner
En la sección "Javascript Snippets", añada el script de PixelFlow; se verá así:
<script>!(function(p,i,x,f,l,o,w){p["PixelFlowObject"]=f;p[f]=p[f]||function(){(p[f].q=p[f].q||[]).push(arguments);};p[f].l=1*new Date();o=i.createElement(x);w=i.getElementsByTagName(x)[0];o.src=l;o.async=1;p[f].apiKey="5f1567378cdfg46ccc7785006ba439acddc93";p[f].siteId="68ieiui9db6393302c3";p[f].apiEndpoint="https://api.pixelflow.so/event";w.parentNode.insertBefore(o,w);})(window,document,"script","pixelFlow","https://slrgkgulru.pixelflow.so/pfm.js");</script>Puede encontrar su script en cualquier momento yendo a su página de Resumen y haciendo clic en el botón de copiar código en la sección "Sites"
Introduzca un nombre para el script, como Facebook Ads
Seleccione "targeting and advertising" como tipo
Pulse el botón "Add this script"
Haga clic en la sección "Copy your Cookie Consent Code" y copie el fragmento de código que se le proporciona. Se verá así (no use este, reemplácelo con el suyo propio):
<!-- Cookie Consent by TermsFeed https://www.TermsFeed.com --> <script type="text/javascript" src="//www.termsfeed.com/public/cookie-consent/4.2.0/cookie-consent.js" charset="UTF-8"></script> <script type="text/javascript" charset="UTF-8"> document.addEventListener('DOMContentLoaded', function () { cookieconsent.run({"notice_banner_type":"headline","consent_type":"express","palette":"dark","language":"en","page_load_consent_levels":["strictly-necessary"],"notice_banner_reject_button_hide":false,"preferences_center_close_button_hide":false,"page_refresh_confirmation_buttons":false}); }); </script> <noscript>Free cookie consent management tool by <a href="https://www.termsfeed.com/">TermsFeed Generator</a></noscript> <!-- End Cookie Consent by TermsFeed https://www.TermsFeed.com --> <!-- Below is the link that users can use to open Preferences Center to change their preferences. Do not modify the ID parameter. Place it where appropriate, style it as needed. --> <a href="#" id="open_preferences_center">Update cookies preferences</a>Pulse el botón "Copy"
Añada el fragmento a la sección del encabezado de Webflow y pulse Save
Publique su sitio de Webflow
PixelFlow ahora solo se cargará si el usuario acepta el seguimiento o el consentimiento de cookies