Custom popups for your Shopify store

Put a discount in front of shoppers while they’re still deciding: a popup with a discount code and a countdown timer that opens on scroll, on a button click or as they head for the exit on desktop.
4.8 rating
10,000+ reviews
Free plan available
AI-Powered
Create Widget for Free
No credit card needed
Custom popups for your Shopify store

Create your Popup app

Configure your Pop up and add it to your Shopify website for free!

Screenshots

Custom popups for your Shopify store
1 / 6

Why store owners choose Elfsight popups

A popup that greets every visitor on page load is easy to close without reading. With Elfsight, the popup can wait for a scroll, a click or an exit on desktop and show only on the pages you pick, so the offer reaches shoppers who are already browsing.

Coupons with a ticking clock

Shoppers copy your coupon with one click, so there’s no code to retype at checkout. Type one code for the whole sale, or add a list and let the popup pick one at random. Then add a timer that runs until the sale ends, or give every visitor a personal timer that starts the first time they see the popup.

Shown when shoppers are paying attention

Catch shoppers mid-browse – when they scroll, reach a block you choose, click your own button or move to leave on desktop – or simply on page load or after a few seconds. Turn on several, and whichever happens first opens it. Then decide how often it returns: every time, once, every day, every week, or until the shopper closes it, after which it comes back in 24 hours.

Pages, screens and sale dates under your control

Show the offer on product pages and keep it off the cart: pick pages by URL, or cover a whole group such as yourstore.com/products/* with one rule. Show it on desktop, tablet or mobile, and set start and end dates with a time zone, so a sale popup appears and ends on its own. For an evening offer, repeat it at the same hours every day.

Key Features: from codes to custom CSS

All seven features below come with the free plan – no trial clock attached.

  • Coupons and countdown timers – one-click code copying, a list of codes picked at random, and a timer that ends on a set date or runs separately for each visitor.
  • Smart triggers – open the popup as the page loads, after a few seconds, at a scroll percentage, when a chosen block comes into view, on a click or on exit intent on desktop, then cap how often it returns.
  • Email sign-up form – grow your list with Email, Short text, Choice and Consent fields and conditional logic, and send new contacts to your inbox, Mailchimp or Google Sheets.
  • Pages, devices and schedule – chosen URLs or page groups, desktop, tablet or mobile, and dates with repeats for recurring offers.
  • AI Popup Generator – type a short description such as “Black Friday sale popup”, get the content drafted, then adjust the layout and style.
  • Seven layouts – modal, left or right pane, left or right slide-in, and top or bottom bar, with a reopen button for modals, panes and slide-ins.
  • Styled like your theme – the Default font follows your store’s font, and you set text and button colors, corner radius and custom CSS.

Build your first popup in the live editor and add it to your theme when it looks right.

Fits the Shopify theme you already run

  • One paste covers the whole store – add the code to theme.liquid once, then choose the pages in the Elfsight editor instead of editing templates.
  • Theme code can stay untouched – in Online Store 2.0 themes, a Custom Liquid section adds the popup to every page that uses the template you put it in.
  • Edits without touching the theme – change the offer, the dates or a trigger in Elfsight, click Publish, and your store shows the new version without saving the theme again.
  • Not tied to one store – the popup from elfsight.com works on any number of your websites, and the free plan has no time limit.

How to add the Popup to Shopify

Set up the popup in the Elfsight editor, grab the installation code with “Add to website for free”, then choose a method below. Prefer a longer walkthrough? Follow our full setup guide.

Good to know: the popup opens as a layer over the page, so where the code sits doesn’t change where it shows up – the layout you pick in the editor does. Code can’t be added on the Shopify Starter plan, and a paid theme on trial doesn’t let you edit its code until you buy it.

Method 1: Show the popup on every page (theme.liquid)

  1. In your admin, go to Sales channels → Online Store.
  2. Next to the current theme, click “…” and select Edit code.
  3. Open the Layout folder and click theme.liquid.
  4. Paste the installation code right before the closing </body> tag.
  5. Click Save, then open your store to see the popup on every page.

To limit it to some pages, keep this code and set the pages in the Elfsight editor.

Method 2: Add the popup to one template without code (Online Store 2.0)

  1. Go to Sales channels → Online Store and click Edit theme.
  2. Pick the template in the dropdown at the top – Home page opens by default.
  3. Click Add section and choose Custom Liquid.
  4. Paste the installation code into the field called Custom Liquid.
  5. Click Save: the popup appears on every page that uses this template.

If your theme lacks a Custom Liquid section, create one in Edit code → Sections with the section code from our Help Center, then add it the same way.

Method 3: Use Custom Content in a vintage theme

  1. Go to Online Store → Themes and click Customize.
  2. Choose the page you want in the dropdown above the preview.
  3. Click Add section → Custom Content.
  4. Remove the default blocks, then click Add block → Custom HTML.
  5. Paste the installation code into the HTML field, set Container width to 100% and click Save.

Vintage themes are the ones released before Online Store 2.0 in July 2021.

After saving, open your live store and trigger the popup the way a shopper would. Short on time? Our support team helps with installation: accept the collaborator request we send, or share a collaborator code on Starter and Basic plans.

FAQ

Will the popup run on a Starter or Basic subscription?

Yes on Basic, Grow, Advanced and Plus – any plan where you can customize the theme. No on Starter: it only offers the Spotlight theme, without sections or theme code.

Where does the code go if my theme has no Custom Liquid section?

Into a section you create yourself. In Edit code, add a new file to the Sections folder, paste the section code from our Help Center guide and save – an Elfsight widget section then appears under Add section, with a field for your installation code.

Can the offer appear on product pages but not in the cart?

Yes. Keep the code in theme.liquid and choose Specific Pages with a page group such as yourstore.com/products/* – the cart and other pages stay clear.

Does a subscription to an Elfsight app in the Shopify App Store cover this popup?

No. Elfsight apps in the Shopify App Store are a separate product, billed through Shopify with a 7-day trial and limited to one store. The popup from elfsight.com has its own plans, including a free one, and runs on as many websites as you need.

Will the popup stay if I switch to another theme?

No – the code lives in the theme you edited. After publishing a new theme, paste the code again the same way.

Nothing appears in my store after saving. What should I check?

Make sure you edited the published theme, clicked Save and the store isn’t hidden behind a password page. Then review the popup’s triggers, pages and how often it shows – and your Elfsight dashboard, since a popup stops appearing once the plan’s view limit is reached.

Can one popup hand out several codes?

Yes. Add a list of codes and the popup picks one at random instead of showing a single code to everyone. The popup displays the codes, so create them in your store’s discount settings first to make them work at checkout.

How does a personal timer work for each visitor?

It starts the first time a shopper sees the popup and counts down the length you set, so everyone gets their own deadline. For a sale that ends at the same moment for all, set a fixed end date and time instead.

Can the popup wait until someone presses my own button?

Yes. Copy the button’s element ID and paste it into the HTML Element ID field of the click trigger; the popup opens on pages where its code is installed.

Which layouts can I choose?

Seven: a modal, a left or right pane, a left or right slide-in, and a top or bottom bar. Modals, panes and slide-ins can leave a small reopen button on the page after the shopper closes them.

Where do new subscribers end up?

They’re emailed to up to three addresses, plus CC and BCC, and saved in your Elfsight dashboard for CSV export. You can also add new contacts to a Mailchimp audience, a Google Sheets spreadsheet, or – through Zapier, Make.com or webhooks – your CRM.

Can I give phones their own text sizes and spacing?

Yes. Set separate text sizes, padding and image scale for widths under 440px, and show any block only on desktop or only on mobile.

Does the popup report opens and button clicks to Google Analytics?

Yes. The popup sends Popup Opened and Button Clicked events with parameters you define, as long as Google Analytics or Google Tag Manager runs in your store.

Do I have to pay to publish the popup?

No. Triggers, codes, timers, layouts and the form all come with the free plan. Paid plans add automatic replies to people who submit the form and your own sender name on notification emails.

Pricing

14-day money back guarantee. Risk-free, you can cancel at anytime.
Elfsight Apps
Cross-platform version that works on any website
from $0 / month
start with free plan
Unlimited websites
Premium support
Free installation service
Special offer for multiple apps
Shopify App
Works on any Shopify website
$5.99 / month
Free Trial
1 website
Premium support
Free installation service