[ SALESFORCE COMMERCE CLOUD ]

    One ISML include. Every storefront on your instance.

    SFCC installs typically run through Business Manager, not a marketplace cartridge. Add the script tag to your shared header template once, and it covers every site ID on the instance — US, EU, or however your storefronts are split.

    [ Install ]
    1 template edit
    [ CSP change ]
    Allowlist 1 domain
    [ Multi-site ]
    Per site ID
    [ Setup time ]
    ~10 min

    Install on Salesforce Commerce Cloud

    01

    Open the shared header

    In your storefront cartridge (SFRA or SiteGenesis), find the template your header/footer already share — commonly common/htmlHead.isml.

    02

    Add the tag and allowlist the domain

    Paste the script tag into the template, then add CookieJar's script domain to your CSP allowlist in Business Manager under Merchant Tools → SEO → CSP (or your CDN edge config if CSP is managed there instead).

    03

    Push to staging, then each site

    Deploy the cartridge change to staging first. If you run separate site IDs per region, confirm the banner renders correctly on each before promoting to production.

    CSP is the step people miss

    SFCC ships with a restrictive default Content Security Policy, and a script blocked by CSP fails silently in most browsers — no banner, no console error a merchant would notice at a glance. If the banner isn't appearing after deploy, CSP is the first thing to check.

    One instance, many storefronts

    Because the tag lives in a shared template rather than a per-site setting, it propagates to every site ID that inherits from it. CookieJar reads the region from the visitor, not the site ID, so US and EU storefronts on the same instance still get the right banner without separate configuration.

    Works alongside Consent Tracking Consumer API

    If your implementation already calls SFCC's native consent tracking for first-party data layers, CookieJar's banner and consent log run independently of it — you're not replacing Salesforce's consent APIs, just adding the visitor-facing banner and the audit trail behind it.

    [ FAQ ]

    Salesforce Commerce Cloud questions

    Ready to add it to your Salesforce Commerce Cloud site?

    Free tier covers 5,000 pageviews on 1 domain — no credit card required.