Shopify Integration

Shopify Feedback Tool

Collect feedback from shoppers on product pages, cart, checkout, and post-purchase. Works with Online Store 2.0 and classic themes.

Installation Methods

Theme File Edit

Add script to theme.liquid. Works with all themes (classic and OS 2.0).

Recommended

Online Store 2.0 App Block

Use theme customizer to add as an app block. No code editing required.

Coming Soon

Theme File Installation (Recommended)

1

Open Theme Editor

Go to Online Store → Themes → Actions → Edit code

2

Find theme.liquid

Under Layout, click theme.liquid

3

Add the Script

Find the </body> tag and paste the script just before it:

<!-- Valerie Feedback Widget -->
<script src="https://talktovalerie.com/valerie/v1.js" 
        data-site-id="YOUR_SITE_ID" 
        async></script>
</body>
4

Save and Test

Click Save, then visit your store to verify the tool appears.

Checkout Page Constraints

Important: Shopify Checkout Limitations

Shopify's checkout pages (/checkouts/*) have strict security restrictions that prevent third-party scripts from loading. This is a Shopify platform limitation, not a Valerie issue. The Valerie tool cannot run on checkout pages.

Shopify Plus Merchants

checkout.liquid is being deprecated (deadline: August 2025). Shopify recommends migrating to Checkout Extensions for any checkout customizations. Scripts on thank-you/order-status pages must migrate by August 28, 2025.

Where You CAN Collect Checkout Feedback

These alternatives let you capture checkout-related feedback without being on the checkout page itself:

Cart Page (Pre-Checkout)

Target /cart to ask about concerns before checkout. Example: "Anything stopping you from completing your purchase?"

Order Status Page (Post-Purchase)

Add via Settings → Checkout → Additional Scripts. Target /*/orders/* or /thank_you. This works for all Shopify plans.

Exit-Intent on Product Pages

Use exit-intent triggers on high-abandonment product pages to understand why shoppers leave before cart.

Pro Tip: Capture Intent on Cart Page

The cart page is often the best place for checkout-related feedback. Shoppers who reach cart have shown purchase intent, and you can ask about shipping concerns, payment options, or trust issues before they hit the checkout wall.

Shopify URL Targeting Recipes

Use these URL patterns in your Valerie dashboard to show different questions on different Shopify pages. All patterns use standard Shopify URL structures.

Product Pages (PDP)

High Value

URL Pattern:

/products/*

Matches: /products/blue-widget, /products/red-shirt

Example Questions:

"What info would help you decide on this product?"

"Is the sizing information clear enough?"

Cart Page

Conversion Critical

URL Pattern:

/cart

Exact match on cart page

Example Questions:

"Anything stopping you from checking out today?"

"Is there a payment method you'd like us to add?"

Collection / Category Pages

URL Pattern:

/collections/*

Matches: /collections/sale, /collections/new-arrivals

Example Questions:

"Did you find what you were looking for?"

"How can we improve these filters?"

Post-Purchase / Thank You

High Quality Responses

URL Patterns:

/*/orders/*/thank_you

Requires Additional Scripts setup (see below)

Example Questions:

"How was your checkout experience?"

"How did you hear about us?"

Search Results

URL Pattern:

/search*

Matches: /search?q=shoes, /search?type=product

Example Questions:

"Did you find what you were searching for?"

"What product are you looking for?"

Homepage Only

URL Pattern:

/

Exact match on homepage only

Example Questions:

"What brings you here today?"

"Is it easy to find what you need?"

Post-Purchase Page Setup

To collect feedback on the order confirmation page, add the script to your Additional Scripts section:

Steps:

  1. 1Go to Settings → Checkout
  2. 2Scroll to Order status page → Additional scripts
  3. 3Paste the Valerie script
  4. 4Save changes

Additional Scripts content:

<script src="https://talktovalerie.com/valerie/v1.js" 
        data-site-id="YOUR_SITE_ID" 
        async></script>

Ready to improve your Shopify store?

Start collecting feedback from shoppers in minutes. Understand what's stopping them from buying.