Jump to content

Help with Affiliate Links for Images!

Recommended Posts

Hello,

I am very frustrated with trying to add my affiliate links to my site and blog post. I see that squarespace does not offer a ton of options and help on this. My issue is adding affiliate links the proper way like google wants them with the nofollow or sponsored in the links. So for example, I know how to add the code to a code block or mark down block so that my text has the affiliate link the proper way. I have been using this: <a href="http://affiliatelinkhere.com/" rel="sponsored" target="_blank">your link in text</a>

But what if I want to use that proper code linked to an image? So when the reader clicks on an affiliate image that I have uploaded to my site, how do I link that image so that it is properly formatted for googles criteria? I want them to be able to click on the product image and go to the affiliate site, but ensuring that it has the nofollow or sponsored in it.

thanks!!

Heather

Link to comment
  • 10 months later...

Hey @mindandmantra!

@tuanphan posted an answer on another discussion for making all external links nofollow. You can use that code to do sponsored.

If you are looking to mark affiliate links as sponsored on an individual link basis, I have made a plugin to make that a lot easier and it would work with images too. I discussed it here.

It's worth mentioning, that to utilize the plugin I made (or any other JavaScript solution), you'd need to be on a Squarespace plan that supports JavaScript. Then import the script and once set up, the plugin makes the process almost effortless.

If you're interested, here's the link to the free plugin for easy access: Excito's Squarespace Affiliate Link Plugin (https://www.excitollc.com/squarespace-plugins/squarespace-affiliate-link-plugin).

Hope that helps!

Daniel Rodrigues | Excito LLC
Squarespace Web Design for Photographers & Creatives
🌐 https://www.excitollc.com/ | ✉ Contact Me: daniel@excitollc.com
💡 Squarespace Enthusiast | 📖 Squarespace Design Blog for Photographers
🤝 Always happy to help and collaborate! Connect with me on LinkedIn.

Link to comment
  • 3 weeks later...
On 10/26/2023 at 4:09 AM, Inspirerd said:

Hey @mindandmantra!

@tuanphan posted an answer on another discussion for making all external links nofollow. You can use that code to do sponsored.

If you are looking to mark affiliate links as sponsored on an individual link basis, I have made a plugin to make that a lot easier and it would work with images too. I discussed it here.

It's worth mentioning, that to utilize the plugin I made (or any other JavaScript solution), you'd need to be on a Squarespace plan that supports JavaScript. Then import the script and once set up, the plugin makes the process almost effortless.

If you're interested, here's the link to the free plugin for easy access: Excito's Squarespace Affiliate Link Plugin (https://www.excitollc.com/squarespace-plugins/squarespace-affiliate-link-plugin).

Hope that helps!

The code is great! 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.