Skip to main content
Adding SDK to your Webflow website
Updated over 9 months ago

This guide provides a comprehensive explanation for installing the Factors SDK on your Webflow website. It covers adding the script tag to both the entire site and specific pages.

Note: We can only track website traffic on the pages where our SDK is installed at.

We encourage you to install our SDK to your website via Google Tag Manager or a tag manager equivalent because it simplifies the installation process and reduces the need for manual code updates.

Adding the SDK to the entire site

  1. Open a web browser and navigate to your Factors.ai account.

  2. Click on 'Settings' in the navigation bar and click on 'Java Script SDK.'

  3. Within the JavaScript SDK menu, find the option labeled 'Manual Setup' and click on it.

  4. Now click on the copy code button on the right side of the code. Copy the entire script tag to your clipboard.

  5. Go to your Webflow dashboard and click on the three dots to open settings.

  6. Navigate to the "Custom code" section, locate the area designated for "Head code." This is usually a text box specifically labeled "Head code" or similar.

  7. Carefully paste the copied script tag from your clipboard into the "Head code" text box.

  8. Once the script tag is pasted, click the blue "Publish" button to make the changes live on your website.


Adding the SDK to specific pages

  1. Open Webflow Designer:

    • Access your Webflow project dashboard.

    • Click on the "Designer" tab to switch to the design interface.

  2. Select the Target Page:

    • From the left-hand panel displaying your website's pages, click on the specific webpage where you want to add the Factors SDK tag.

  3. Scroll down in the page settings menu to find the section labeled "Head tag."This section is typically used to inject custom code into the page's header.

  4. Just like before, copy the SDK code from your Factors dashboard into the "Head tag" section.

  5. After pasting the script tag, click the blue "Save" button at the top of the settings menu to store the changes for the specific page.

  6. Finally, click the green "Publish" button in the top right corner to make the SDK script live on that specific page.

Additional Notes:

  • Ensure you obtain the correct script tag unique to your Factors instance from your team.

  • Double-check that the script tag is pasted accurately within the designated sections to avoid errors.

  • Remember that these instructions are specific to Webflow. If you're using a different platform, consult their documentation for guidance on adding custom code.

Did this answer your question?