Installing on your store

One lightweight script powers every Janus popup. Here's how it gets onto your storefront, what it reads, and what it costs your page speed.

The app embed (recommended)

Installing the Janus app from the Shopify App Store adds a theme app embed. Turn it on once:

  1. In Shopify admin, go to Online Store → Themes → Customize.
  2. Open App embeds (the puzzle-piece icon in the left sidebar).
  3. Toggle Janus on and hit Save.

That's the whole install. The embed renders a single async script tag before </body> on every page. No theme code edits, and uninstalling the app removes it completely.

What actually loads

What the embed shares with the widget

The embed passes exactly two facts about a logged-in customer: their Shopify order count and customer id. No name, no email, no PII. Order count powers targeting rules like "number of orders is exactly 0" (new customers only). Logged-out visitors count as 0 orders.

Preview mode

Two URL parameters help you check work safely on your live storefront:

ParameterEffect
?ps_preview=CAMPAIGN_IDLoads that campaign for you only; works even while the campaign is a draft or the embed is switched off for real visitors. This is what ↗ Preview → Open on your store uses.
?embed=CAMPAIGN_IDMounts the campaign inline (no overlay, no trigger) into an embed container on the page; see embedded form mode.

Inline (embedded form) mode

Any campaign can render inside a page instead of as an overlay popup: on a landing page, in a footer, wherever you drop its container:

<div id="ps_campaign_CAMPAIGN_ID"></div>

Get the exact snippet from the builder under How it appears → Inside the page. Embedded instances skip teasers and triggers; they're just there. More in the SDK guide.

Verifying the install

  1. Set a campaign live (or grab a ?ps_preview link).
  2. Open your storefront in a private/incognito window.
  3. Wait for the trigger (default: 5 seconds on page).

If nothing shows, walk the checklist in FAQ → My popup isn't showing; it's almost always a trigger, targeting rule or frequency cap doing exactly what it was told.

NoteJanus respects your storefront's customer privacy settings; see Privacy & compliance for consent capture and GDPR behavior.