This document attempts to outline how to integrate with a Consent Management Platform (CMP) so that your users can still use Viafoura's products without being tracked in accordance to GDPR, CCPA, and other privacy legislation.
This feature is meant for sites where a CMP integration exists or is planned. With the inclusion of our Viafoura Tracking Consent script, you can configure your CMP such that our experiences will not track a given session.
head, and that any scripts you want blocked to be loaded directly afterwards.
vftc - Viafoura Tracking Consent. This is a tiny piece of JS that you need to include on every page. When the script is not blocked by the CMP, then it will set a flag on
Add the Tracking Consent script to the head of each of your pages before loading any other Viafoura scripts.
The script's URL is https://cdn.viafoura.net/vftc/index.js .
This script needs to be in the head and not the body, so that your CMP can block it before it executes.
In your CMP you will need to ensure that
vftc.js is picked up and configured to be blocked when the user does not consent to being tracked. The steps to do this will be dependent on the CMP you are using.
If you are using the CDN entry point or
vf-v2.js, nothing changes here. You want to continue loading that script as normal.
If the script is running and consent has been given to track, you will see a local storage value of
"__vftc__": true. If there is no local storage value that means that our script has been blocked by your CMP. You can see that by looking at the markup where our script is and see if a
Updated about 1 year ago