Download Links

Description

Download links are hyperlinks whose URL is:

  1. A download file (URL filename extension matches one of the types in the file types field)
  2. An on-site domain

The check box inserts an on-lick event handler function named dcsDownload. The handler is bound to the document body. When a mouse click occurs on the page, the handler is called. The handler receives an event object as an argument. If the event object meets the criteria above, then its contents are passed as parameters to dcsMultiTrack.

The file types field should contain a comma-separated list of file extensions.

An event-specific identifier is passed via the WT.dl parameter. This is defined in the Webtrends Unified Event Model.

Example

Suppose the download file types field contains:
xls

Onsite domain field contains:
localhost,webtrends.corp

Page contains the following hyperlink:
<a href="smartsource.xls?lang=en">SmartSource Spreadsheet</a>

Clicking the link generates the following parameters:

    DCS.dcssip=tagbuilder.webtrends.com
    DCS.dcsuri=/Help/EventTracking/smartsource.xls
    DCS.dcsqry=?lang=en
    WT.ti=Download:SmartSource Spreadsheet
    WT.dl=20
JavaScript Reference

dcsMultiTrack ParameterValue
DCS.dcssiphostname
DCS.dcsuripathname or "/"
DCS.dcsqrysearch (if present)
WT.ti"Download:" + title
WT.dl20
WT.nvEnclosing element id or classname (if present)

Class.PropertyType
WebTrends.downloadtypesstring