Website integration
Control how the Crobox snippet runs on your website.
Website integration controls how the Crobox snippet runs on your website: which pages it recognizes, where experiences can appear, what makes them appear, and the general settings of your container.
Open Settings → Website integration. Its tabs:
Your container's name and URL, allowed origins, session and reporting settings, and privacy.
What the snippet does on your page, such as rendering an experience.
The Crobox packages your website loads.
How Crobox recognizes each type of page on your website, such as product or listing pages.
How Crobox reads information from your pages, such as product IDs.
What makes an experience appear, such as a page type loading.
The places on your pages where experiences can appear.
How changes go live
General settings take effect as soon as you click Save.
Changes in the other tabs are saved to a new draft version of your website integration. They go live on your website when you publish that version in Settings → Versions.
Actions
An action is something the Crobox snippet does on your page, such as rendering experiences into a placeholder or sending an event. Each action runs when the triggers listed under Activated by fire. The tab lists each action's Name, Type, Activated by, and Status.
Dependencies
Dependencies lists the Crobox packages your website loads, such as the packages that render Product Finders and Sagent, with their Version.
Page Types
A page type tells Crobox what kind of page a visitor is on, such as a product detail page, a product listing page, or the cart. Experiences use page types to decide where they appear, and analytics use them to break down results by page. Your website reports the page type with every pageview; see Event Tracking Implementation.
To add one, click Add Page type and fill in:
Code - The number your website sends for this page type in the pageview. It can't be changed after saving.
Abbreviation - A short label, such as PDP.
Name - The full name, such as Product Detail Page.
Page types are used in a campaign's Locations step, on placeholders, and in the Page type filter of a trigger.
Extractors
An extractor reads a piece of information from your page, such as the product ID of each product tile on a listing page. Placeholders and actions use extractors to know which product they're showing an experience for. The tab lists each extractor's Name, Level, Status, and when it was last updated.
Triggers
A trigger decides when something happens on your page: when a placeholder becomes active, or when an action runs. It combines one or more events with optional filters. Each trigger shows its Name, events, Filters, and Status: Active when a placeholder or action uses it, Inactive when none does.
To create one, click New trigger, enter a Name that says when it fires, such as PDP – page loaded, and select:
Triggers - The events it listens for: DOM ready (the page has loaded), Crobox Event, Click, Page Visiblity, Delay, History Change (the URL changes without a page load), Script Ready (the Crobox snippet has loaded), or Mutation (an element appears on the page). Some events have their own settings.
Filters (optional) - Where it may fire: Page type, Page URL, Market country or language, CSS Exists, or a Conditional rule.
Use a trigger by selecting it under Activated by on a placeholder or an action. To remove one, open the menu at the end of its row and select Remove. Check its Status first: removing an Active trigger stops the placeholders and actions that use it.
Was this helpful?
