Trustlytics Support Center > Settings > Tracking-Code > How to insert the tracking code from Trustlytics into Squarespace
At this point, we would like to show you how to integrate the tracking code from Trustlytics into your Squarespace page.
JavaScript Tracking code
Sign up for Squarespace and then click on the “WEBSITE” button.
Now select the “Website” option on the left side.
Go back to the menu on the left side. Scroll to the bottom of the page where you will find the option “Website Tools”. Click on it.
Now you are in the website tools. Once again, on the left side, you will find the option “Code Injection”. Please click on it.
Now you can see the Header area in the main window.
Now take the JavaScript tracking code from Trustlytics, as described in the introduction, and insert it into the Header field.
Click on “Save” in the upper-left corner now.
Now you just need to publish your Squarespace website in the usual way.
Congratulations! You have successfully integrated the tracking code from Trustlytics into your Squarespace website. From now on, Trustlytics will measure the visitors to your website.
Tracking using an image
Sign up for Squarespace and then click on the “WEBSITE” button.
Now select the “Website” option on the left side.
Go back to the menu on the left side. Scroll to the bottom of the page where you will find the option "Website Tools". Click on it.
Now you are in the website tools. Once again, on the left side, you will find the option “Code Injection”. Please click on it.
Now you can see the Footer area in the main window.
Now take the tracking code using an image from Trustlytics, as described in the introduction, and insert it into the Footer field.
For your information: Although we recommend placing the tracking code directly after the opening <body> tag, you must insert the tracking code at the end of your website on Squarespace. This is the only option as Squarespace does not allow any other method.
Click on “Save” in the upper-left corner now.
Now you just need to publish your Squarespace website in the usual way.
Congratulations! You have successfully integrated the tracking code from Trustlytics into your Squarespace website. From now on, Trustlytics will measure the visitors to your website.