---
title: "DCSDELAY"
slug: "dcsdelay"
updated: 2020-05-06T16:05:51Z
published: 2020-05-06T16:05:51Z
canonical: "onpremises.webtrends.help/dcsdelay"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://onpremises.webtrends.help/llms.txt
> Use this file to discover all available pages before exploring further.

# DCSDELAY

## 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();
}
```
