Overview
A sandbox is a value that an event or a request carries. It chooses two things: which version of your campaigns handles the event, the published version or the latest version with your unpublished changes, and which container records it. Live traffic sends no sandbox, so it runs the published version. You use a sandbox to test a campaign change before you publish it, and to compare that change with what your customers see today.Sandbox Values
The campaign id is in the campaign’s address in My Extole, after
/campaigns/.
If a request sends no sandbox, Extole uses a production sandbox, and the request runs the published version, not your draft. The container depends on the request:
production-<container>when the request names a container.production-testwhen the request comes from a test site on your program domain. See Put Testing Sites in a Test Container.production-botfor a consumer request with noOriginheader whose user agent is on your account’s blocked user agents, or that sends anx-purpose: previewheader.production-productionotherwise.
Campaign Preview and Campaign Sandboxes
Both campaign sandboxes run the latest version of your campaigns. They differ in who can enter a journey and which rules run:- Campaign preview: a person can enter a journey without a referral, so you can test a friend journey without an advocate. A journey name in the value, such as
FRIEND, gives that journey the highest priority. The campaign’s quality rules do not run. - Campaign: journey entry follows the campaign’s own rules. A friend enters the friend journey only through a referral, as on your live site. The campaign’s quality rules run.
Where You Set a Sandbox
- Consumer API: the
X-Extole-Sandboxheader. See Send an Event to a Sandbox. - Server events:
sandboxin the event’s data. See Send an Event to a Sandbox. - Draft pages and emails: the
sandboxparameter of a/zones/address. See View Draft Pages and Emails. - My Extole: Execution Mode on a component’s Operations tab. Preview is the campaign preview sandbox, Campaign is the campaign sandbox in the
testcontainer, and Production isproduction-production. You can also type any other value from the table above. See Test a Change Before You Publish.
Sandboxes and Sandbox Clients
A sandbox runs inside your account and applies to one event or request. A sandbox client is a separate Extole client for development, with its ownclient_id. Sandbox Clients describes how you authenticate against one.