bodyHidingEnabled
- Type: Boolean
- Default Value: true
- Description: Used to control flicker when
target-global-mbox
is used to deliver offers created in the Visual Experience Composer, also known as visual offers.
clientCode
- Type: String
- Default Value: Value set via UI.
- Description: Represents the client code.
cookieDomain
- Type: String
- Default Value: If possible set to the top level domain.
- Description: Represents the domain used when saving cookies.
crossDomain
- Type: String
- Default Value: Value set via UI.
- Description: Indicates whether cross-domain tracking is enabled or not. The allowed values depend on your at.js version. For at.js v1.x, specify whether cross-domain capabilities are
disabled
(browsers set cookies in your domain (first-party cookies) only),x only
(browsers set cookies in Target’s domain only), or both, by selectingenabled
(browsers set both 1st and 3rd party cookies). For at.js v2.10 and later, specify whether cross-domain capabilities areenabled
(browsers set both 1st and 3rd party cookies) ordisabled
(browsers do not set 3rd party cookies).
cspScriptNonce
- Type: See Content Security Policy below.
- Default Value: See Content Security Policy below.
- Description: See Content Security Policy below.
cspStyleNonce
- Type: See Content Security Policy below.
- Default Value: See Content Security Policy below.
- Description: See Content Security Policy below.
dataProviders
- Type: See Data Providers below.
- Default Value: See Data Providers below.
- Description: See Data Providers below.
decisioningMethod
-
Type: String
-
Default Value: server-side
-
Other Values: on-device, hybrid
-
Description: See Decisioning Methods below.
Decisioning Methods
With on-device decisioning, Target introduces a new setting called Decisioning Method that dictates how at.js delivers your experiences. The
decisioningMethod
has three values: server-side only, on-device only, and hybrid. WhendecisioningMethod
is set intargetGlobalSettings()
, it acts as the default decisioning method for all Target decisions.Server-side only:
Server-side only is the default decisioning method that is set out of the box when at.js 2.5+ is implemented and deployed on your web properties.
Using server-side only as the default configuration means that all decisions are made on the Target edge network, which involves a blocking server call. This approach can introduce incremental latency, but it also provides significant benefits, such as giving you the ability to apply Target’s machine-learning capabilities that include Recommendations, Automated Personalization (AP), and Auto-Target activities.
Furthermore, enhancing your personalized experiences by using Target’s user profile, which is persisted across sessions and channels, can provide powerful outcomes for your business.
Lastly, server-side only lets you use the Adobe Experience Cloud and fine-tune audiences that can be targeted against through Audience Manager and Adobe Analytics segments.
On-device only:
On-device only is the decisioning method that must be set in at.js 2.5+ when on-device decisioning should be used only throughout your web pages.
On-device decisioning can deliver your experiences and personalization activities at blazing fast speed because the decisions are made from a cached rules artifact that contains all of your activities that qualify for on-device decisioning.
To learn more about which activities qualify for on-device decisioning, see the supported features section.
This decisioning method should be used only if performance is highly critical across all the pages that require decisions from Target. Furthermore, keep in mind that when this decisioning method is selected, your Target activities that do not qualify for on-device decisioning will not be delivered or executed. The at.js library 2.5+ is configured to only look for the cached rules artifact to make decisions.
Hybrid:
Hybrid is the decisioning method that must be set in at.js 2.5+ when both on-device decisioning and activities that require a network call to the Adobe Target Edge network must be executed.
When you are managing both on-device decisioning activities and server-side activities, it can be a bit complicated and tedious when thinking about how to deploy and provision Target on your pages. With hybrid as the decisioning method, Target knows when it must make a server call to the Adobe Target Edge network for activities that require server-side execution, and also when to only execute on-device decisions.
The JSON rules artifact includes metadata to inform at.js whether an mbox has a server-side activity running or an on-device decisioning activity. This decisioning method ensures that activities you intend to be delivered quickly are done through on-device decisioning and for activities that require more powerful ML-driven personalization, those activities are done via the Adobe Target Edge network.