StoreSpan
Injectables

Limits and things to know

Look up how much an injectable can hold, and read what to check before you publish.

Look here for how much an injectable can hold, and for what to check before you publish.

Size limits

WhatLimit
HTML, Template and Custom HTML & CSS, the HTML100,000 characters
Script50,000 characters
CSS, in each place50,000 characters
Name200 characters
Description2,000 characters
Exclusive group (optional)120 characters
Your own values in a template50, of up to 2,048 characters each
Settings of a design preset50
Anchor selector500 characters
Wrapper classes200 characters
Wrapper style500 characters
Priority (higher renders first)From -1,000,000 to 1,000,000
Blocks in a stack, hidden ones included20
Blocks in one panel of a mega menu24
Caption of a mega-menu image200 characters
Variants of an A/B test2 to 5
Conditions and groups in the rules100, up to 8 levels deep
Addresses of developers' computers10

Content for a widget or built ahead

With BigCommerce widget and Server-rendered delivery, the whole content must fit in about 48 KB. StoreSpan does not put larger content on your store. The editor of a Blocks injectable warns you before you reach the limit.

Top bar

WhatLimit
Messages in one bar1 to 6
Message300 characters, one line
Link address2,048 characters
Link words60 characters
Countries per messageAny number, with groups of countries
Time each message shows2 to 60 seconds, while the bar turns on its own
Padding0 to 48px top and bottom, 0 to 96px left and right
Text size10 to 32px
Content widthFull width, or 320 to 2,400px
Bottom border0 to 8px
Theme-header selector lists500 characters each

See Top bar for what each setting does.

Check before you publish

CheckWhy
The element of Anchor selector is on the pageStoreSpan cannot check it. Without the element, the injectable does not show.
The position is not replace by mistakereplace removes the element you point to.
The region is in your themeA widget in a region that your theme lacks shows nowhere.
You have read every scriptA script can read everything on the page, and StoreSpan does not stop a script that runs too long. See Script.
The content has an element that closes itWithout it, Snooze after a dismissal (days) never starts.
You looked at the injectable on your storefrontThe preview does not show your theme, the place on the page or the wrapper element.

See Delivery, Targeting, schedule and frequency cap and Preview.

Where injectables never show

The StoreSpan script does not run on the checkout, so injectables with Loader script delivery do not show there.

A BigCommerce widget or a Server-rendered injectable is different. When its region is on every page of your theme, it shows on the checkout and the order pages too. StoreSpan cannot keep it off them. See Delivery.

Who sees an injectable

DeliveryWho sees it
Loader scriptThe shoppers that the rules, the schedule and the frequency cap allow.
BigCommerce widgetThe same.
Server-renderedEvery shopper, on every page that has the region, or on the one page you chose.
Static PageEvery shopper who opens the page, at all times.

When StoreSpan cannot build a Server-rendered injectable ahead, the StoreSpan script shows it. It then shows on every page that has the element, and the schedule and the frequency cap apply. See When StoreSpan cannot build the content ahead.

When several injectables are on one page

The Priority and the Exclusive group decide. See Details.

On this page