Hello @DoriaL ,
I'd recommend reaching out to SquareSpace's support for further guidance in this regard. We can provide the form and the basic instructions as they provide, but they'll ultimately have the best insight on how to best add coding to a site built in their system.
Support Tips
"There's a multitude of ways to engage your audience through us using your social platforms - via ads, social post metrics, email links, and more! " - Will
See ArticleSupport Tips
"Target your most engaged contacts by creating a segment. Create a special offer or show your appreciation!" - Caitlin
See ArticleSupport Tips
"Greet new contacts with one or more automated Welcome Emails depending on their interests or your business goals." - Nick
See Article