How do I add the attribute type="fs-cc" to scripts that issue cookies if the scripts are added as integrations in Webflow?
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:
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"
.Access the site dashboard: Log in to your Webflow account and access the site dashboard where you have added the script integration.
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.
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.
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>
.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:
- How do I add custom scripts to my Webflow site?
- Can I customize the attributes of integrated scripts in Webflow?
- What is the purpose of the
type
attribute in script tags?