Engagement/Analytics/Webtrends/Tracking: Difference between revisions

Jump to navigation Jump to search
Line 25: Line 25:
In order to capture the download click event we apply the following dcsMultiTrack call to the onClick event handler of the associated link:  
In order to capture the download click event we apply the following dcsMultiTrack call to the onClick event handler of the associated link:  


<code>&nbsp;&nbsp;&nbsp; dcsMultiTrack('DCS.dcssip', 'www.mozilla.org',<br> &nbsp;&nbsp;&nbsp; 'DCS.dcsuri', '/en-US/download',<br> &nbsp;&nbsp;&nbsp; 'WT.ti', 'Link: Download Firefox',<br> &nbsp;&nbsp;&nbsp; 'WT.z_convert', 'download_firefox',<br> &nbsp;&nbsp;&nbsp; 'WT.dl', 1)<br></code> &nbsp;&nbsp; <br>Notice that this may seem redundant because we already implemented a dcsMultiTrack call to track the download click associated with the Scenario Analysis tracking.&nbsp; In fact, it is both redundant and incorrect to make two dcsMultiTrack calls to track the same behavior.&nbsp; So in this case, we can combine the dcsMultiTrack call into one:  
<code>&nbsp;&nbsp;&nbsp; dcsMultiTrack('DCS.dcssip', 'www.mozilla.org',<br> &nbsp;&nbsp;&nbsp; 'DCS.dcsuri', '/en-US/download',<br> &nbsp;&nbsp;&nbsp; 'WT.ti', 'Link: Download Firefox',<br> &nbsp;&nbsp;&nbsp; 'WT.z_convert', 'download_firefox',<br> &nbsp;&nbsp;&nbsp; 'WT.dl', 1)<br></code> &nbsp;&nbsp; <br>Notice that this may seem redundant because we already implemented a dcsMultiTrack call on track the download click associated with the Scenario Analysis tracking.&nbsp; In fact, it is both redundant and incorrect to make two dcsMultiTrack calls to track the same behavior.&nbsp; So in this case, we can combine the dcsMultiTrack call into one:  


<code>&nbsp;&nbsp;&nbsp; dcsMultiTrack('DCS.dcssip', 'www.mozilla.org',<br> &nbsp;&nbsp;&nbsp; 'DCS.dcsuri', '/en-US/download',<br> &nbsp;&nbsp;&nbsp; 'WT.ti', 'Link: Download Firefox',<br> &nbsp;&nbsp;&nbsp; <font color="red"><b>'WT.z_convert', 'download_firefox',</b></font><br> &nbsp;&nbsp;&nbsp; 'WT.dl', 1,<br> &nbsp;&nbsp;&nbsp; <font color="green"><b>'WT.si_n', 'Download Firefox',</b></font><br> &nbsp;&nbsp;&nbsp; <font color="green"><b> 'WT.si_x', '2'</b></font>)<br></code> &nbsp;&nbsp;&nbsp; <br>This last call will provide Webtrends with enough data to create both a Scenario Analysis report AND a Campaign Tracking report.&nbsp; Once this data is captured within the Webtrends logfile, custom reports can be created in the OnDemand environment.&nbsp; This will be the topic of the next Wiki entry.<br>
<code>&nbsp;&nbsp;&nbsp; dcsMultiTrack('DCS.dcssip', 'www.mozilla.org',<br> &nbsp;&nbsp;&nbsp; 'DCS.dcsuri', '/en-US/download',<br> &nbsp;&nbsp;&nbsp; 'WT.ti', 'Link: Download Firefox',<br> &nbsp;&nbsp;&nbsp; <font color="red"><b>'WT.z_convert', 'download_firefox',</b></font><br> &nbsp;&nbsp;&nbsp; 'WT.dl', 1,<br> &nbsp;&nbsp;&nbsp; <font color="green"><b>'WT.si_n', 'Download Firefox',</b></font><br> &nbsp;&nbsp;&nbsp; <font color="green"><b> 'WT.si_x', '2'</b></font>)<br></code> &nbsp;&nbsp;&nbsp; <br>This last call will provide Webtrends with enough data to create both a Scenario Analysis report AND a Campaign Tracking report.&nbsp; Once this data is captured within the Webtrends logfile, custom reports can be created in the OnDemand environment.&nbsp; This will be the topic of the next Wiki entry.<br>
165

edits

Navigation menu