ConfigurationTheme Integration
Configuration

Theme Integration

Learn how LinkSpot integrates with your Shopify theme through the app embed block, theme compatibility, and metafields.

Overview

LinkSpot integrates with your Shopify storefront through a theme app embed block. This block loads automatically on product pages and renders interactive elements (Pins, Product Sets, Annotations, Captions) on your product gallery images. No theme code modifications are needed.

App Embed Block

The app embed block is the core of LinkSpot's integration with your theme. It must be enabled for any elements to appear on your storefront.

Enable the Block

From the LinkSpot dashboard, click Enable app embed to open the theme editor with the LinkSpot block selected.

Save in Theme Editor

Ensure the block is toggled on, then click Save in the theme editor.

Confirm in LinkSpot

Return to the LinkSpot dashboard and click Confirm activation. The status should change to "Enabled".

App embed blocks are deactivated by default after app installation. You must manually enable it in the theme editor. If you switch themes, you'll need to enable the block again on the new theme.

What the App Embed Does

When enabled, the app embed block:

  • Loads LinkSpot's scripts and styles on product pages

  • Reads element data from product metafields

  • Renders Pins, Product Sets, Annotations, and Captions on the product gallery images

  • Handles product card interactions (popup, new tab)

Theme Compatibility

LinkSpot needs to identify your theme's product image gallery structure to place elements on the correct images. The compatibility test automates this detection.

Running the Test

Start Test

Click Setup compatibility in the LinkSpot dashboard. A new window opens with your storefront.

Automatic Detection

The test analyzes your theme's product page and detects the gallery image elements. This takes a few seconds.

Review Results

A Compatible badge means your theme is supported and you're ready to go.

If Your Theme Is Incompatible

If the test reports your theme as incompatible, elements cannot be placed on product images automatically. You have two options:

Set a custom CSS selector that matches the product gallery items in your theme. For example: .product-gallery .gallery-item.

  1. Click Manually set CSS selector from the compatibility menu

  2. Enter the CSS selector for your product gallery items

  3. Click Save selector

If you change themes, you'll need to run the compatibility test again for the new theme.

Multiple Themes

LinkSpot stores compatibility data per theme. Use the theme selector in the dashboard to switch between themes and run compatibility tests for each one separately.

Data Storage

LinkSpot stores element data in Shopify product metafields. These are managed automatically -- you don't need to edit them directly.

MetafieldPurpose
linkspot.pins_dataPin positions, styles, and linked products
linkspot.annotations_dataAnnotation positions, text, and styles
linkspot.captions_dataCaption positions, text, and styles
linkspot.product_setsProduct set assignments for the product
linkspot.app_settingsApp-wide display settings
linkspot.themesTheme compatibility configuration

Settings Reference

LinkSpot settings are organized into sections accessible from Settings in the sidebar.

General

SettingOptionsDescription
Product card clickOpen in new tab, Open product popupBehavior when a customer clicks a product card
Show product vendorOn/OffInclude vendor name in product presentations
Show currency codeOn/OffShow currency code (e.g., USD) in prices
Corner styleSquare, Soft, RoundedCorner radius on buttons, cards, and popups
Quick-view color schemeConfigurableColor scheme for the product popup
Elements z-indexNumber (default: 11)CSS z-index for elements to ensure they display above other page content

Pins

SettingDescription
Default pin styleChoose from 12 styles or a custom SVG
Pin sizeAdjust the size of pins on the gallery
Hover animationAnimate pins on hover
Constant animationKeep pins in constant motion
Interaction eventClick or Hover to open the card

Annotations

SettingDescription
Intro transitionFade, Slide, or None
Default color schemeBackground and text colors

Captions

SettingDescription
Default sizeSmall, Medium, Large, or Larger
Default positionTop Left, Top Right, Bottom Left, or Bottom Right
Default color schemeBackground and text colors

Product Sets

Product set settings are organized by layout:

  • Button & Popup: Button position, icon, color scheme, popup color scheme, cart behavior

  • Card Carousel: Card size, card width, content alignment, color scheme

  • Links List: Alignment, item size, color scheme

  • Misc. settings: Fallback behavior when targeted image position doesn't exist

Library

The Library section in Settings lets you manage:

  • Images -- uploaded images for use in elements

  • SVG Icons -- custom SVG icons for pin styles

  • Custom color schemes -- reusable color scheme presets

Shopify Permissions

LinkSpot requires the following Shopify access scopes:

ScopePurpose
read_productsRead product data and images
write_productsWrite element data to product metafields
read_themesDetect theme compatibility
write_themesEnable the app embed block
write_filesUpload images and SVG assets

Next Steps