Shopify3 minutesBeginnerUpdated

How to add social proof to Shopify

To add AutoSocialProof to Shopify, paste your campaign pixel into your theme's theme.liquid file, just before the closing </head> tag. Widgets then load on every storefront page that uses the theme.

You need: Any Shopify plan with an online store theme, and your campaign pixel from the AutoSocialProof dashboard.

Paste before </head>
<script defer src="https://app.autosocialproof.com/pixel/YOUR_PIXEL_KEY.js"></script>

Steps

  1. In Shopify admin, open Online Store, then Themes.
  2. Next to your live theme, open the actions menu (three dots) and choose Edit code.
  3. In the Layout folder, open theme.liquid.
  4. Find the closing </head> tag and paste your AutoSocialProof pixel line just above it.
  5. Click Save, then open your store in a private window to check that a widget appears.

Menu names can change. Shopify's own help: official guide.

Show real orders or signups

For recent sales, create a webhook in Shopify admin under Settings, Notifications, Webhooks with the event "Order creation" and your widget's webhook URL as the destination. Shopify sends a large, nested order body; open the widget's Data tab after a test order to see the exact field names received, or route orders through Zapier or Make and send simple fields such as name, city and product.

Webhook guide

Good to know

Theme updates or switching themes replace theme.liquid. Re-add the line if you change themes.

Shopify's checkout pages do not load theme code, so widgets show on storefront pages, not inside checkout.

Duplicate the theme before editing code if you want a safe rollback.

Other platforms

Ready? Create a free account or log in to follow along.

Questions about this guide

Is there a Shopify app?

No app install is needed. A single line in theme.liquid works on every Shopify plan with an online store theme.

Will it show on the Shopify checkout?

No. Shopify checkout does not run theme scripts. Use widgets on product, collection and cart pages.

How do I show real Shopify orders?

Send order-created webhooks to your widget's webhook URL, directly from Shopify or through an automation tool that maps the fields you want to show.

Does it slow my Shopify store?

The pixel is deferred, so it loads after your theme and does not block rendering.

Stuck on a step? We reply within a business day.

Paste one line, turn on a widget built from real activity, and watch the analytics tell you what works.

  • Real people answer
  • Installation help is free
See pricingStart free

Popular

/ or Ctrl K opens search. Arrow keys move, Enter opens.

Display and accessibility

Theme
Colour palette
Text size
Accessibility statement

Checkout

Plan

  • Payment handled by Stripe. We never see your card number.
  • 30-day refund on your first payment.
  • Your account is created automatically after payment. Card statement: TheBigBot LLC.