srpscript_

How to Use

Drop a Hint

This guide shows you how to switch on Drop a Hint in your theme, place the Drop a hint button on your product pages, style the popup shoppers see, and track the hints they send.

Before you start

Install Drop a Hint from the Shopify App Store and use an Online Store 2.0 theme. You don’t need to edit any theme code.

Setup checklist

Open Apps → Drop a Hint → Dashboard. The App setup and activation card tracks four steps:

  • Theme integration — the Drop a Hint app embed is switched on in your theme.
  • Product page integration — the Drop a Hint button block is on your product template.
  • Button settings — the button’s label, style and colours are set.
  • Popup settings — the popup’s layout, text and colours are set.

Each step shows Active or Inactive. The App blocks status card below it has shortcut buttons (Enable embed and Edit app block) that open the theme editor in the right place. After you change something in the theme editor, click Refresh to update the status.

Drop a Hint dashboard with the setup checklist and app blocks status
The setup checklist and app blocks status on the Dashboard.

Step 1: Turn on the app embed

The app embed loads the popup, its styles and order attribution on your storefront. The Drop a hint button won’t open the popup unless the embed is on.

  1. Open App embeds

    On the Dashboard, click Enable embed. Or go to Online Store → Themes → Customize and click the App embeds icon in the left toolbar.

  2. Switch on Drop a Hint

    Find Drop a Hint in the list and turn the toggle on.

  3. Save

    Click Save in the top-right corner of the theme editor.

Drop a Hint toggle in the theme editor’s App embeds panel
Online Store → Themes → Customize → App embeds.

Step 2: Add the button to product pages

  1. Open the product template

    On the Dashboard, click Edit app block. Or go to Online Store → Themes → Customize and choose Products → Default product from the page selector at the top.

  2. Add the block

    In the Product information section, click Add block, open the Apps tab and choose Drop a Hint button.

  3. Position it

    Drag the block to where you want it. Most stores put it just below the price or above the Buy buttons.

  4. Save

    Click Save. The Drop a hint button now shows on every product that uses this template.

Add block picker with the Apps tab showing Drop a Hint button
Product information → Add block → Apps → Drop a Hint button.
Drop a hint button on a product page in the theme editor
The block in the product template, with the button live in the preview.

Using more than one product template?

Repeat this step for each product template where you want the button, for example a separate template for gift cards or jewellery.

Step 3: Customise the button

Click the Drop a Hint button block in the theme editor to open its settings. You can also reach it from Apps → Drop a Hint → Appearance → Edit button block.

Drop a Hint button block settings in the theme editor
Button block settings.

Basic settings

  • Product tags to hide the button: Add these tags to products in Shopify to hide the button on them. Separate several tags with commas, for example final-sale, gift-card.
  • Button type: Inline sits where you place the block. Floater stays fixed on the edge of the screen.
  • Style: Show it as a Button or as a plain Text link.
  • Label: The button text. The default is “Drop a hint”.
  • Alignment: Left, Center or Right.
  • Colours: Border, text and background colours, plus hover border, hover text and hover background colours. Leave a border colour empty to use the background colour.

Advanced positioning

Advanced positioning settings of the Drop a Hint button block
Advanced positioning settings.
  • Pin next to another element: A CSS selector such as .product-form__buttons or #AddToCart. The button moves next to the first matching element. Use this when the theme editor won’t let you drop the block exactly where you want. Leave it blank to keep the button where the block is.
  • Existing button: The ID or class of a button that’s already on the page, for example #hint-button. Clicking that button opens the Drop a Hint popup.
  • Custom HTML button: Your own HTML replaces the Drop a hint button. Clicking anywhere inside it opens the popup. The colour and style settings are ignored.
  • Custom CSS: CSS for this block only. When you use a custom HTML button, style it here, for example .dah-custom button { letter-spacing: 0.04em; }.

Step 4: Customise the popup

Go to Apps → Drop a Hint → Appearance and click Customize under Popup Style.

Appearance page with Button style and Popup Style cards
Appearance → Popup Style → Customize.

The settings are on the left and a live preview is on the right. Switch the preview between Desktop, Mobile, Thank you and Thank you mobile, and click Select product to preview with one of your own products.

Popup customization screen with layout settings and a desktop preview
Popup customization with the live preview.
  • Popup width: the popup’s width on desktop (default 800px).
  • Preview width: the width of the product column (default 380px).
  • Form width: the form’s minimum width. It fills any space left in the popup (default 420px).
  • Preview background colour and Preview font colour: the colours of the product column.
  • Show product description: show or hide product details under the product name.
  • Show logo and Logo URL: show your logo in the popup. To get a URL, upload your logo in Content → Files, copy the file URL and paste it here.
  • Show custom message: show or hide the shopper’s personal note in the preview column.

Form

  • Heading and Subheading, for example “Drop a hint” and “Send this product to someone who would love it.”
  • Field labels for Your name, Your email, Recipient name, Recipient email and Message.
  • Button label, for example “Send hint”.
  • Messages for missing required fields, an invalid email address, sending in progress and errors.
  • Show privacy policy and terms: show your Privacy Policy and Terms of Use links under the form. Set the text and URL for each.
  • Colours for the form background, text, input labels, input borders, the button, the button’s hover state and error messages.
Desktop popup preview with product column and hint form
The popup on desktop: product preview on the left, hint form on the right.
Mobile popup preview
On mobile the popup opens as a bottom sheet.

Success message

This is what the shopper sees after their hint is sent.

  • Success title and Success description, with their colours.
  • Keep shopping button: closes the popup. Leave the text blank to hide it.
  • Send another hint button: clears the form so the shopper can send another hint. Leave the text blank to hide it.
  • Background, text and hover colours for both buttons.
Thank-you screen with Hint dropped title and two buttons
The thank-you screen.

Common style

  • Overlay opacity: how dark the background behind the popup is (0 to 1, default 0.55).
  • Popup border radius: how rounded the popup’s corners are (default 16px).
  • Custom CSS: target any popup element by its ID. The IDs are #dah-title, #dah-subtitle, #dah-sender-name, #dah-sender-email, #dah-recipient-name, #dah-recipient-email, #dah-message, #dah-submit, #dah-privacy-link, #dah-terms-link, #dah-thanks-title, #dah-keep-shopping and #dah-send-another. Labels follow the same pattern, for example #dah-label-sender-name.
Common style settings with overlay opacity, border radius and custom CSS
Common style settings.
code
#dah-submit {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

Click Save when you’re done.

Step 5: Test it

Open a product page on your live store (or use Preview in the theme editor), click Drop a hint, fill in the form with an email address you control and click Send hint. You should see the thank-you screen, the hint email should arrive, and the hint appears on the Hints page.

Warning

Test with a real email address you control. Some email providers block disposable addresses.

Track hints and results

Dashboard stats

The App stats card on the Dashboard shows Hints sent, Hints opened, Orders and Revenue for the date range you choose.

App stats card with hints sent, hints opened, orders and revenue
App stats on the Dashboard.

Hints page

Apps → Drop a Hint → Hints lists every hint. Search by sender email, recipient email or product name. Click Export CSV to download the list.

Hints page with stats, search and Export CSV button
The Hints page.

Troubleshooting

  • The button shows but nothing happens when I click it. Turn on the Drop a Hint app embed (Step 1) and save the theme.
  • The button doesn’t show. Check that the block is on the product template the product uses, and that the product doesn’t have one of your hide tags.
  • The button is in the wrong place. Drag the block in the theme editor, or use Pin next to another element with a CSS selector.
  • The Dashboard still shows Inactive. Save the theme, then click Refresh on the App blocks status card.