How to make an image shoppable on any website
By the Markspot team · ·
To make an image shoppable, place a clickable point, or hotspot, on each product in the photo, give each point the product's name, price and link, then publish the image where shoppers will see it. On a website, Markspot turns this into one script tag that you paste into any page where you can add a script.
What do you need before you start?
- A photo. A lifestyle shot, a flat lay, a room or a product close-up. Markspot accepts JPG, PNG, WebP, GIF, SVG, AVIF and HEIC files up to 5 MB, and converts HEIC to WebP.
- A link for each product. Usually its page on your store. Any web address works, so a marketplace listing or an affiliate link is fine too.
- A page where you can add a script. Most site builders have an HTML or code block for this. Some limit it by plan or by user role; the table below lists the ones to check.
- A Markspot account. The Free plan stores 3 images and keeps 1 live at a time, with a "Made with Markspot" badge. Pricing lists the paid plans.
You don't need a product feed, an app or a developer. The product details live in Markspot, on each mark. If you're new to the idea, what is a shoppable image explains it first.
How do you add hotspots and product links to the photo?
Hotspots are the clickable points on the image, which Markspot calls marks. The editor works the same way whatever site the image ends up on.
- Upload the photo to the shoppable image editor.
- Click each product to place a mark on it. Put the mark on the product itself, not floating beside it.
- Fill in the mark. Title, price and link are the core. You can add a short description, tags and a button label such as "Shop" or "View". With many products, import them once from a CSV file on the Products page, then pick each one from the list.
- Style the card: its position, text sizes and width, and on desktop whether it opens on hover or on click. Paid plans add templates, and Studio adds brand kits with your colors and a choice of fonts.
- Publish and describe the image. Publishing gives you the embed tag. In the same panel, add alt text so screen readers can describe the photo.
Two habits pay off later. Keep titles short, so they read at a glance. And add UTM parameters to your product links: utm_source, utm_medium and utm_campaign are the fields Google Analytics reads to tell which campaign sent a visit. Visits from the image then show up in your own analytics as well.
How to use Markspot shows each of these steps in the app. On a paid plan, you can also ask an AI assistant such as Claude or ChatGPT to add marks or change them for you: see connect an assistant.
How do you put the image on your website?
Copy the tag Markspot gives you after publishing and paste it where the image should appear. It is a standard script tag with the async attribute. A browser fetches an async script in parallel with parsing the page, so it keeps building your page while the script downloads.
The image renders inside a shadow root. Styles inside a shadow root are scoped to it: your theme's CSS doesn't restyle the cards, and the cards' CSS doesn't leak into your theme.
You paste the tag once. When you move a mark or change a price later, the live image picks up the change within minutes, and there is no new tag to paste.
Where does the tag go on Shopify, Webflow, WordPress, Squarespace and Framer?
Every site builder has a place for custom HTML. It has a different name on each, and some come with a condition worth checking before you start. Each platform guide covers the details and what to do if something goes wrong.
| Platform | Where the tag goes | Check first | Guide |
|---|---|---|---|
| Shopify | A Custom Liquid section in the theme editor | Add it to the template of the page where the image goes. A custom Liquid block in the header shows on every page. | Shopify guide |
| Webflow | A Code Embed element | The Code Embed element needs a paid site plan or Workspace. | Webflow guide |
| WordPress | A Custom HTML block | WordPress strips script tags saved by users without the unfiltered_html capability. | WordPress guide |
| Squarespace | A Code Block | JavaScript in a Code Block needs the Core, Plus or Advanced plan. | Squarespace guide |
| Framer | The script in the site's custom code settings, then an Embed where the image goes | The install has two parts; the guide explains why. | Framer guide |
Any other site that lets you add HTML works the same way: find its HTML, code or embed block and paste the tag.
What will shoppers see on a desktop and on a phone?
On a desktop, the marks sit on the photo. Pointing at one opens a card with the title, the price and a button to the product page; with the click setting, a click opens it instead. On a touch screen, a tap on a mark opens a panel under the image with the same details, rather than a card over the photo.
Keyboard users get the same cards. Each mark is a button named after its product: Tab reaches it, Enter or Space opens its card and Escape closes it. Shoppable images and the European Accessibility Act covers what else an accessible image needs.
The button opens the link you set, and the sale happens on your store, as it does today. Markspot doesn't run a cart or a checkout, and it doesn't sync with your store: the price on a mark is the one you typed. Update it when your price changes.
How do you know if it is working?
On every paid plan, the analytics dashboard shows each image's impressions, its marks' hovers and clicks, and the click rate of each mark. That tells you which products people open and which they pass over. Studio and above can also run A/B tests between versions of an image. The Free plan doesn't include analytics.
How to measure a shoppable image explains what each number means and what to compare it with.
FAQ
Questions
No. Markspot is one script tag that goes in your site's HTML or code block, so there is nothing to install or update. Shoppable images without a plugin explains the difference.
Yes. A mark can link to any web address: your store, a marketplace listing or an affiliate link.
No. Markspot shows the price you type on each mark and doesn't read your store's prices or stock. Edit the mark, and the live image updates within minutes, without a new tag.
Yes. Paste the same tag on each page, and every copy shows the current version of the image. It still counts as one live image on your plan.
Sources
- Google Analytics Help: Collect campaign data with custom URLs,
- MDN Web Docs: The script element (async attribute),
- MDN Web Docs: Using shadow DOM,
- Shopify Help Center: Customizing sections and blocks,
- Webflow University: Custom code at the layout level (Code Embed element),
- WordPress.org Documentation: Custom HTML block,
- Squarespace Help: Add custom code to a page with code blocks,
- Framer Help: How to add custom code,
- Framer Help: Embedding a Trustpilot widget (site custom code plus an Embed component),