The Squarespace platform has built-in features for adding custom code, like Code Block, CSS Editor, and Code Injection. This article by Squarespace will show you how to add your own different types of custom code and there you may find a video tutorial:
Advanced Customizations & Adding Custom Code
Note: You may check the full guide on adding codes here of Squarespace's website.
If you don’t receive the email in the next 2 minutes please check your junk folder, and add [email protected] to your safe sender list.