Implement Privacy Pillar Applications on React Websites

You can implement the Privacy PillarĀ  application on your website that you have constructed using React. To be more precise, you must add the production CDN script to the index.html file of your React project.

The following steps are common for implementing Privacy Pillar's Cookie Banner, Subscription Consent Banner, and Social Fortuna.

Add Script and Publish

To add the Privacy Pillar CDN Scripts:

  1. Open your React Project.
  2. Navigate to the index.html file inside the Public folder at the root of your Project.
  3. Add the CDN Script to the head tag of the file.
  4. Now run your website. Check that the desired module appears on the website properly.

Note: If it doesn't appear, try hard-refresh (Press Ctrl+Shift+R) and check it again.