Squarespace doesn't have a dedicated affiliate link tool, but you can add affiliate links through several built-in features. The right method depends on whether you need simple text links, branded/cloaked URLs, or proper rel attributes for SEO compliance.
Method 1: Text Links in the Editor (Simplest)
The most basic way to add an affiliate link on Squarespace:
- Open the page or blog post you want to edit
- Highlight the text you want to link
- Click the link icon in the toolbar
- Paste your affiliate URL
- Click the gear icon and check "Open in New Window"
- Save
This works for most situations, but Squarespace's text editor doesn't let you add rel="sponsored" or rel="nofollow" attributes to the link. For basic affiliate linking where you're not concerned about SEO attributes, this is the fastest approach.
Method 2: URL Mapping for Cloaked Links
URL mapping lets you create clean, branded affiliate URLs like yoursite.com/go/product-name that redirect to your affiliate link. This is the best method for managing multiple affiliate links:
- Go to Settings > Advanced > URL Mappings
- Add a mapping:
/go/product-name -> https://your-affiliate-link.com?ref=yourID - Use
yoursite.com/go/product-namethroughout your site
The big advantage: if your affiliate link ever changes, you update it in one place instead of hunting through every page. It also looks cleaner to visitors than a long tracking URL.
Method 3: Code Block for Custom HTML Links
If you need to add rel="sponsored", rel="nofollow", or other custom attributes, use a code block:
- Add a "Code" block to your page
- Write your link HTML directly:
<a href="https://your-affiliate-link.com" rel="sponsored nofollow" target="_blank">Product Name</a> - Save
This gives you full control over link attributes. Google recommends using rel="sponsored" for affiliate links, so this method is the most SEO-compliant option on Squarespace.
Method 4: Button Blocks
Button blocks create prominent call-to-action buttons. Add one through the block inserter, paste your affiliate URL, and set it to open in a new tab. Buttons work well for product recommendations and "buy now" calls to action.
Like text links, Squarespace's button blocks don't support custom rel attributes natively. If you need rel="sponsored" on a button, you'll need to add it via code injection in the page header.
Method 5: Image Links
You can link any image on your Squarespace site to an affiliate URL. Click the image, go to the link settings, and paste your affiliate URL. This works well for product images, banners, and visual promotions.

Adding rel="sponsored" Site-Wide with Code Injection
If you use a lot of affiliate links and want to add rel="nofollow sponsored" to all of them automatically, you can use a JavaScript snippet in your site's code injection (Settings > Advanced > Code Injection > Footer):
This script targets all external links matching your affiliate URL patterns and adds the proper rel attributes. It's a "set it and forget it" solution that ensures every affiliate link on your site is properly tagged for SEO.
FTC Disclosure Requirements
If you use affiliate links on your site, you're legally required to disclose the relationship. Here's what you need:
- Per-page disclosure: Add a brief statement near your affiliate links: "This post contains affiliate links. I may earn a commission if you make a purchase through these links, at no additional cost to you."
- Dedicated disclosure page: Create a page (linked from your footer) with your full affiliate disclosure policy
- Placement: The disclosure must be visible before the affiliate links - not buried at the bottom of the page
Different affiliate programs have additional requirements. Amazon Associates, for example, requires a specific disclosure statement on every page with Amazon links.
Managing Multiple Affiliate Links
Once you have more than a handful of affiliate links, keeping track of them gets messy. Here are practical approaches:
Use URL Mapping as a Central Hub
Keep all your affiliate URLs in Squarespace's URL Mappings. Create a consistent naming convention like /go/brand-product. When a link changes, update the mapping once.
Track with a Spreadsheet
Maintain a spreadsheet with: the affiliate program name, your cloaked URL, the actual affiliate link, the commission rate, the cookie duration, and when the link was last verified. Check quarterly.
Add UTM Parameters for Tracking
Append UTM parameters to your affiliate links so you can see which pages drive the most clicks in Google Analytics. This helps you understand which content converts best and where to focus your efforts.
Common Mistakes to Avoid
- Forgetting to open links in a new tab: Always set affiliate links to open in a new window so visitors don't navigate away from your site
- Using raw affiliate URLs: Long tracking URLs look spammy. Use URL mapping or a link shortener
- Not checking links regularly: Affiliate links can break when programs change tracking systems. Audit your links monthly using Squarespace's link checker or a third-party tool
- Overloading pages with links: Too many affiliate links hurt user experience and can trigger search engine penalties. Keep link density reasonable
- Missing disclosure: Not disclosing affiliate relationships violates FTC guidelines and most affiliate program terms
- Using affiliate links in emails: Many programs (including Amazon Associates) prohibit affiliate links in emails. Check your program's terms
Optimizing Affiliate Link Performance
Place Links Where They Make Sense
Affiliate links perform best when they're embedded in relevant, helpful content - product reviews, tutorials, and comparison posts. Links dropped into unrelated content get ignored. Use natural, keyword-rich anchor text instead of "click here."
Use Squarespace's SEO Tools
Optimize the pages containing your affiliate links for search traffic. The more organic visitors you get to your review and tutorial content, the more clicks your affiliate links receive.
Track What's Working
Use analytics to identify which pages generate the most affiliate clicks and conversions. Double down on content that converts and improve or remove what doesn't.
Bottom Line
Setting up affiliate links on Squarespace is simple for basic text links but requires code blocks or code injection for proper SEO attributes. URL mapping is the best approach for managing multiple links - it keeps your URLs clean and lets you update links in one place. Always include FTC disclosure, open links in new tabs, and audit your links regularly to catch broken ones.
For more on monetizing your Squarespace site, check the Squarespace Affiliate section.
Frequently Asked Questions
How do I add affiliate links to my Squarespace site?
Can I add rel='nofollow' to affiliate links on Squarespace?
What is URL mapping on Squarespace and how does it help with affiliate links?
Do I need to disclose affiliate links on my Squarespace site?
Can I use affiliate links in Squarespace emails?
How do I track affiliate link performance on Squarespace?
* Read the rest of the post and open up an offer