How do I add the attribute type="fs-cc" to scripts that issue cookies if the scripts are added as integrations in Webflow?

Published on
September 22, 2023

To add the type="fs-cc" attribute to scripts that issue cookies when they are added as integrations in Webflow, you can follow these steps:

  1. Identify the script: First, you need to identify the script that issues cookies and determine where you want to add the attribute type="fs-cc".

  2. Access the site dashboard: Log in to your Webflow account and access the site dashboard where you have added the script integration.

  3. Navigate to the Page Settings: Select the page where you want to modify the script and click on the "Page Settings" option in the left sidebar.

  4. Open the Custom Code tab: Within the Page Settings, locate the "Custom Code" tab and click on it. This is where you can add custom code to your site.

  5. Add the attribute: In the "Head Code" or "Footer Code" section, locate the script you want to modify. Add the type="fs-cc" attribute to the script. For example, if the script looks like <script src="script.js"></script>, you will modify it to <script src="script.js" type="fs-cc"></script>.

  6. Save and publish: Once you have added the attribute, click on the "Save Changes" button, and then publish your site for the changes to take effect.

By following these steps, you can add the type="fs-cc" attribute to scripts that issue cookies when they are added as integrations in Webflow. This will allow you to control and manage the use of cookies on your website.

Additional Questions:

  1. How do I add custom scripts to my Webflow site?
  2. Can I customize the attributes of integrated scripts in Webflow?
  3. What is the purpose of the type attribute in script tags?