Paste one line into your theme

  1. In your Shopify admin, go to Online Store → Themes, press ⋯ next to Customize, then Edit code.
  2. Open layout/theme.liquid.
  3. Paste your line just above </body>, then press Save.
Your line<script src="https://app.pendling.app/v1/pendling.js" async data-site="YOUR-SITE-KEY"></script>

Your own line, with your site key in it, is in the dashboard under Install (and in the install step of setting up a site). Copy it from there rather than from this page.

Install in the dashboard: your line, where to paste it on each platform, your site key and a link to check it works.
Install in the dashboard: your line, where to paste it on each platform, your site key and a link to check it works.

That's all: every campaign, coupon, form and game is then set up in the dashboard, and changes reach your store within a minute.

The Pendling app for Shopify (coming soon)

The Pendling app will do the same with no code, as a theme app embed you switch on under Online Store → Themes → Customize → App embeds. It also:

When it's out, remove the line from your theme before switching the app embed on, so the charm doesn't load twice.

Check it's live

Until your store sends its first page view, your site's page in the dashboard shows Finish setting up. To see what's happening on any page, add ?pendling_debug=1 to its address. More in The charm isn't showing.