DCSDELAY
  • 06 May 2020
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

DCSDELAY

  • Dark
    Light
  • PDF

Article summary

dcsdelay

The dcsdelay field sets the number of milliseconds the tag should use as a timeout while waiting for the beacon request's onload event. This only affects multiTrack calls with a callback function declared.

For example, if the delay was 150 milliseconds and a mulitrack call was made that had a callback function defined, the callback function would be executed no later than 150 milliseconds after the initial multitrack call, but could be fired before that if the image's onload event happened first.

Default Value: 120

JavaScript Example:

window.webtrendsAsyncInit = function () {
        var dcs = new Webtrends.dcs();
        dcs.init( {
                dcsid: "dcs9x99xxxx9xxx9xx9xxxx9x_9x9x",
                dcsdelay: 500
        });
        dcs.track();
} 

Was this article helpful?