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

Získajte pomoc rýchlejšie a ľahšie

Nový užívateľ?

Adobe MAX 2024

Adobe MAX
Konferencia o kreativite

14. – 16. októbra Miami Beach a online

Adobe MAX

Konferencia o kreativite

14. – 16. októbra Miami Beach a online

Adobe MAX 2024

Adobe MAX
Konferencia o kreativite

14. – 16. októbra Miami Beach a online

Adobe MAX

Konferencia o kreativite

14. – 16. októbra Miami Beach a online