Closed Bug 673155 Opened 15 years ago Closed 15 years ago

Implement WT tracking code on l10n sites so we can track downloads

Categories

(www.mozilla.org :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lforrest, Assigned: pascalc)

Details

Here's the code to use. Refer to the en-US source code for any implementation details. 1. Basic page-level tagging - this provides a 50% sampling and tells the info to go into the main Mozilla.com Profile within Webtrends: <script type="text/javascript"> //<![CDATA[ var _tag=new WebTrends({"dcsid":"dcsf9nqmj10000clgc14f05rf_2u7t","rate":50,"fpcdom":"mozilla.com"}); _tag.dcsGetId(); //]]> </script> <script> //<![CDATA[ _tag.dcsCollect(); //]]> </script> <noscript> <div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="//statse.webtrendslive.com/dcso6de4r0000082npfcmh4rf_4b1e/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2"/></div> </noscript> </body> </html> 2. For the download Thank You page custom tags to mark download conversion: <meta name="WT.ad" content="Support - Download Help;Tour;About;Mobile;Newsletter;Twitter;Facebook;Connect" /> <meta name="WT.si_n" content="DownloadFirefox"> <meta name="WT.si_x" content="1"> <meta name="WT.si_cs" content="1"> <meta name="WT.z_convert" content="DownloadFirefox">
Assignee: nobody → pascalc
Updating to milestone 3.3. Is that possible?
Target Milestone: --- → 3.3
to be clear on the implementation steps, what is needed is that I add the <meta> declaration in the <head></head> part of the "Thank you page" and the javascript/html part just before the </body> part, right? No change is needed on the /firefox/ page itself, correct?
also, should I activate it for the Beta download on the channel page as well?
First part done on trunk in r92834, I have activated thank you pages for all the locales we had the page translated for (71) I did not activate it on the channel page as it is sigificant additional work (because the boxes there are from 3 different channels and the Aurora channel downloads go directly to the FTP without goign through bouncer) Next step will be the html/js implementation (see my questions in comment #2)
(In reply to comment #2) > to be clear on the implementation steps, what is needed is that I add the > <meta> declaration in the <head></head> part of the "Thank you page" and the > javascript/html part just before the </body> part, right? I believe that's correct but I'm no web dever. If you look at the en-US code and copy that, you should be fine. > No change is needed on the /firefox/ page itself, correct? Correct.
I have added the meta tags in r92886, the javascript tagging is already included automatically for all pages that include the localized header therefore no action is needed for this part.
some code cleanup in r92890 and r92891
on stage in r92892
fine on stage, on production in r92897
This is fixed
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.