Versionv1

How do I add Intastellar Consents to my Shopify store?

This article is for Shopify stores. There is no App Store app yet, so you add the same small script as on a normal website, inside your theme’s Liquid layout.

Use something else if:

Someone who can edit theme code (you, a Shopify partner, or a technical teammate) should do the paste.


What this does on the storefront

The same Intastellar Consents script you use on a normal website runs in your theme’s <head>: visitors get a banner and their choice is stored for your domain. Non-essential tracking should stay quiet until consent and until your analytics / ad tags are wired to respect that choice (same idea as in the JavaScript install guide).

Not legal advice — your counsel decides what your store needs. Overview: Intastellar Consents.


What you need ready

  1. A privacy policy URL that works on your store (often Settings → Policies or your theme’s policy page).
  2. Your shop domain (or primary custom domain) for the script settings.
  3. Logo image hosted with https (for example from Content → Files or theme assets — Shopify often uses cdn.shopify.com links).
  4. Access to Online Store → Themes → Edit code.

What to do (simple checklist)

  1. In Shopify admin go to Online Store → Themes.
  2. On your live theme, choose ⋯ → Edit code.
  3. Under Layout, open theme.liquid (or the layout your theme uses for the storefront).
  4. Copy the full snippet from the JavaScript install guide — section Full snippet for paste — and paste it immediately after the opening <head> line.
  5. Replace placeholders with your real shop domain, company name, policy_link pointing at your live privacy URL, logo, colours, and optional Google measurement ID.
  6. Save, then check the storefront in an incognito window.

The shape matches the website article and window.INTA reference for staff who need field names.

Example shape (placeholders only — copy the complete block from the article):

<head>
  <script>
    window.INTA = {
      policy_link: "https://your-shop-domain.com/policies/privacy-policy",
      settings: {
        rootDomain: "your-shop-domain.com",
        company: "yourcompany",
        arrange: "ltr",
        color: "#000000",
        logo: "https://cdn.shopify.com/.../your-logo.png",
        design: "overlay",
        gtagId: "G-XXXXXXXXXX",
        requiredCookies: [],
        keepInLocalStorage: [],
      },
    };
  </script>
  <script src="https://consents.cdn.intastellarsolutions.com/uc.js"></script>
  {{ content_for_header }}

Placing it before {{ content_for_header }} is fine as long as both scripts run inside <head>.


After you save: what to expect

In incognito, on the storefront:

  1. Banner shows on first visit when policy_link and placement are correct.
  2. Choice sticks across pages on the same domain.
  3. Third-party / analytics requests match your tag setup: many merchants still need to adjust how GA or Meta is injected (theme apps, additional scripts) so those tools honour consent.

Checkout and some account flows may use other domains — the usual theme.liquid install covers the Online Store front end, not every Shopify surface. Treat checkout as a separate check with Shopify or your agency.


Verify in the browser

Use Developer toolsNetwork on a private window: reload before accepting cookies, note analytics or ad calls, then accept and compare. If heavy hitters fire before consent, fix tag loading, not only the banner snippet.


Common questions

Why doesn’t the banner show on my store?

  1. policy_link must be a live URL (try it in a browser).
  2. Snippet must be in theme.liquid (or equivalent) for the Online Store theme, not only on one custom page.
  3. Cache — try incognito or wait for CDN/theme cache to clear.

Will it show on checkout?

Checkout and new customer account areas use different domains or surfaces. The standard theme.liquid setup covers the Online Store only. Extra steps may need Shopify Plus or supported checkout extensions — treat checkout as a separate project and ask Shopify support or your agency.

Is an app coming?

A Shopify app is planned for easier install from admin. Until then, theme editing is the supported path.


Privacy policy

By implementing the solution you agree to the cookie banner privacy policy.


Last updated