dcsimg

Onsite links are being recorded as offsite in SDC logs

Products

Legacy Webtrends
Webtrends Analytics 8.x
Webtrends Analytics 9.x

Issue

Links that are not offsite are showing up in SDC logs with the title “Offsite:xxxxxx”

Cause

The site is tagged to use dcsOffsite in the advanced event handler function “dcsET.” When an href is clicked that contains a javascript function the offsite code incorrectly identifies “javascript” as being offsite.

Resolution

Add “javascript” to the doms in the dcsIsOnsite function along with the other domains that are considered onsite.

Newer JavaScript tags contain a function specific to tracking JavaScript links and should not be subject to this behavior. Upgrading to the latest version of the tag may also resolve your issue.