Web Device Mode Settings
Detailed technical documentation on the web device mode settings for Adobe Analytics destination.
Find the open-source JavaScript SDK code for this destination in our GitHub repo.
Initialization
We initialize appmeasurement.js
or mediaSDK.js
according to the settings in the RudderStack dashboard.
RudderStack first checks if any global properties are set in window.s_account
or window.s objects
. If already present, they will be used. Otherwise, RudderStack uses the Report Suite IDs, Tracking Server URL, and Tracking Server Secure URL (optional) as set in the RudderStack dashboard.
Refer to the Dashboard Settings guide for more information on these settings.
If Marketing Cloud Organization ID is set in the dashboard, RudderStack initializes visitorApi.js
and sets the ID in window.Visitor.getInstance(<Your Marketing Cloud Org Id>)
.
Page
RudderStack sends a page view event to Adobe Analytics whenever you make a page()
call.
A sample page
call is as shown:
If this call is made the pageName
of the window.s
variable will be set as Viewed Page name. RudderStack also sends other information like referrer
,url
, etc.
The mappings done in the RudderStack dashboard will be set as context data, eVars, hiers, lists and props for every page
call. The t()
method is called to compile all the variables set and send them to Adobe Analytics.
Track
According to the mapping done in RudderStack, the events can be sent as particular Adobe Events.
The track
events for Adobe can be broadly categorized in 3 types:
Normal track events
E-Commerce track events
Video type (Heartbeat) track events
For the regular and video type (Heartbeat) track
events, it is necessary to map the events in the RudderStack dashboard.
For the E-Commerce track events, if the events fall under the following mapping they will be sent accordingly. Otherwise, the mapping should be done in the dashboard.
For more info on the RudderStack E-Commerce Spec, follow the E-Commerce Tracking API guide.
The mapping is as shown:
product viewed
prodView
product list viewed
prodView
product added
scAdd
product removed
scRemove
order completed
purchase
cart viewed
scView
checkout started
scCheckout
cart opened
scOpen
opened cart
scOpen
A sample track
call is as shown:
Contact Us
For more information on any of the sections mentioned in this guide, feel free to contact us or start a conversation in our Slack community.
Last updated
Was this helpful?