Webflow sync, pageviews & more.
NEW
Answers

What are the ramifications of removing these from the HTML tag in Webflow? Can I remove them if I'm using my own server for form submissions?

If you remove the `data-wf-site` and `data-wf-page` attributes from the HTML tag in Webflow, it will have several ramifications. These attributes are essential for Webflow's JavaScript to function properly and communicate with the Webflow CMS and other services within the platform.

The `data-wf-site` attribute represents the unique identifier of your Webflow site. It is used to establish a connection between your site and Webflow's servers. Removing this attribute will sever that connection, and your site may stop working as expected. It can result in broken functionality, such as interactions, dynamic content, form submissions, and interactions related to the Webflow CMS.

The `data-wf-page` attribute helps Webflow determine which page is currently being viewed, allowing it to load specific designs and interactions accordingly. Without this attribute, Webflow may not be able to load the necessary assets, causing visual and functional problems on your site.

Regarding using your own server for form submissions, removing these attributes might still cause issues. Although you can configure Webflow forms to submit data to a custom server using the Webflow form settings, the JavaScript code responsible for capturing the form data and sending it to the server relies on those attributes to function correctly. So, removing them could potentially break the form submission process.

If you want to use your own server for form submissions, it's generally recommended to leave the `data-wf-site` and `data-wf-page` attributes intact on the HTML tag. You can then customize the form submission behavior using Webflow's form settings to send the form data to your server and handle it accordingly.

In summary, removing the `data-wf-site` and `data-wf-page` attributes from the HTML tag in Webflow can cause various issues, including broken functionality and design inconsistencies. It's best to keep these attributes intact, even if you're using your own server for form submissions.

Rate this answer

Other Webflow Questions