Engagement/Analytics/Webtrends/Tracking: Difference between revisions

Line 29: Line 29:


  <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>
  <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:  
&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;<font color="red">''''WT.z_convert', 'download_firefox','''</font><br> &nbsp;&nbsp;&nbsp;'WT.dl', 1,<br> &nbsp;&nbsp;&nbsp;<font color="green">''''WT.si_n', 'Download Firefox','''</font><br>&nbsp;&nbsp;&nbsp; <font color="green">''''WT.si_x', '2''''</font>)<br></code>&nbsp;&nbsp;&nbsp;  
  <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">''''WT.z_convert', 'download_firefox','''</font><br> &nbsp;&nbsp;&nbsp;'WT.dl', 1,<br> &nbsp;&nbsp;&nbsp;<font color="green">''''WT.si_n', 'Download Firefox','''</font><br>&nbsp;&nbsp;&nbsp; <font color="green">''''WT.si_x', '2''''</font>)<br></code>&nbsp;&nbsp;&nbsp;  
165

edits