<aside> 👉🏼 Squarespace offers a wide variety of options for installing custom scripts on their websites. We recommend using the Code Injection method.

</aside>

Integrating the Leadsourcing script into your Squarespace website allows you to take advantage of improved tracking features that give you important information about how visitors behave. This tutorial describes how to use Squarespace's Code Injection capability to incorporate the Leadsourcing script into your Squarespace website easily.

Obtain the Leadsourcing Script

First, make sure you have the Leadsourcing script on hand. You can locate it in the Script section of the dashboard. Copy the entire code snippet to your clipboard so it's ready to be embedded into your Squarespace site.

Log In to Squarespace

Signing into your Squarespace account is the first step. Since you will be accessing places that impact the entire functionality of your site, make sure you have the required permissions to change its settings.

Access to Site Settings

After logging in, select the Home Menu. From there, select Website, followed by Pages, to access the different site setting options.

Find Website Tools

Within the Pages menu, scroll down to find the Website Tools section. This area contains settings that allow for deeper customization of your site, including the ability to add custom code.

Open Code Injection

Click on Code Injection within the Advanced section. Squarespace's Code Injection feature provides a straightforward way to add custom scripts to your site without needing to edit its HTML directly.

Inject the Leadsourcing Script

You can enter code snippets that will be injected into various sections of your website in the Code Injection section. In order to guarantee that the Leadsourcing script loads on every page of your website, you will usually use the Header field.

Copy and paste the Leadsourcing script into the Header area from the dashboard. Consistent tracking throughout your website is made possible by this location, which guarantees the script runs as each page loads.

Save Your Changes

After pasting the RB2B script into the Header field, click Save at the top of the Code Injection page. This action commits your changes and integrates the Leadsourcing script with your Squarespace site.

Well done! The Leadsourcing script has been successfully added to your Squarespace website. Now that this script has gathered useful visitor data, you may refine your website and tactics using user interactions.