Troubleshooting guidelines for DTM implementation

The article provides few of the console commands that can be used to troubleshoot DTM implementation:

To check whether DTM library has loaded:

_satellite

If library has loaded the _satellite object will be returned

Object {initialized: true, uuid: 236, dataCache: Object, $data: function, keys: function…}

If library has not loaded:

Uncaught ReferenceError: _satellite is not defined

 

To get the web property for the DTM library hosted on a page:

_satellite.settings.libraryName

The DTM web property ID is the alphanumeric text after satelliteLib‐.

 

To enable debugging mode

_satellite.setDebug(true)

Expected response:

undefined

 

To switch to staging library: (reload required)

localStorage.setItem('sdsat_stagingLibrary', true)

Expected response:

undefined

 

To check if the staging or production library loaded on page:

_satellite.settings.isStaging

Expected response if staging library is present:

true

Expected response if product library is present:

false

 

To get the current value set in a data element:

_satellite.getVar("data_element_name")

 

To get the build date for the library on page:

_satellite.buildDate

 Adobe

Saage abi kiiremini ja hõlpsamalt

Uus kasutaja?

Adobe MAX 2024

Adobe MAX
Loovuse konverents

14.–16. oktoobril Miami Beachis ja veebis

Adobe MAX

Loovuse konverents

14.–16. oktoobril Miami Beachis ja veebis

Adobe MAX 2024

Adobe MAX
Loovuse konverents

14.–16. oktoobril Miami Beachis ja veebis

Adobe MAX

Loovuse konverents

14.–16. oktoobril Miami Beachis ja veebis