Adding Iubenda Privacy Policy to your site
Embedding Iubenda Privacy Policy into your RevasOS site allows you to comply with privacy regulations, such as GDPR, CCPA and other data protection laws. By following the steps below, you can easily add the Iubenda component for a complete privacy management.
Get the Iubenda code
Log in to your Iubenda account: Go to Iubenda and log in with your credentials.
Create a Privacy Policy:
- If you have not already created a Privacy Policy, click on Create a document.
- Select the laws your site must adhere to (e.g. GDPR, CCPA).
- Fill in the required information and customize the Privacy Policy based on the needs of your site.
Get the embed code:
- Once you have created the Privacy Policy, go to the Settings section of the Privacy Policy.
- Select Embed Privacy Policy.
- Copy the HTML code that is provided to you. This code embeds the Privacy Policy on your site.
Insert the code on RevasOS
Once you have the code, go to RevasOS and:
Log in to your website's Dashboard.
Click on Settings > Custom Code.
Add the code in the HEAD field:
- Paste the Facebook Meta Pixel code in the HEAD Code field.
- Save the settings.
The Pixel will now be active and will start tracking users who visit your site.
Alternative setup with Google Tag Manager as Consent Platform
If you prefer to use Google Tag Manager to manage cookie consent (for example, to enable a consent management platform like Iubenda Consent Solution), follow these steps:
Create a Google Tag Manager container:
- Go to Google Tag Manager and log in with your credentials.
- Create a new container for your site, if you haven't already done so.
Add the Iubenda Consent tag:
- Go to the Tags section and search among the Iubenda community tags.
- Select the appropriate tag (for example, Iubenda Consent Solution).
- Follow the instructions here: https://www.iubenda.com/it/help/75631-google-consent-mode-set-up-google-tag-manager-with-iubenda#configura-il-tag
Set Triggers for Iubenda: The trigger for the Iubenda tag must be configured to manage consent initialization:
- Consent Initialization Trigger: Set the trigger to Initialization Consents, which is specific to cookie consent management.
- Triggers for Other Tags:
- For tracking or marketing tags (e.g. Google Analytics, Facebook Pixel), configure specific triggers such as:
- Page View
- Link Click
- Window Loaded
- All Pages (to track every visit)
Configure Triggers for Single Page Applications (SPA): If your site is built using SPA technologies such as React, Vue, or Angular, it is essential to add a History Change trigger:
- History Change Trigger: Add a trigger that detects a page history change, which is necessary for tracking events in SPAs, where pages do not fully reload.
Once you have configured all the tags and triggers, make sure to save the container:
- Click Save and then Publish to make the changes active.
Test the integration
Once you have configured the Iubenda component, you can test the functionality of the consent banner:
- Visit your website in incognito mode to test if the consent banner appears.
- Use browser inspection tools to verify that the Iubenda code is correctly loaded in the
<head/>
or<body/>
of your page.