webtrends tracking for marketplace (bug 746181)
This commit is contained in:
Родитель
da7b2bc1d4
Коммит
9ccb473f7b
|
@ -0,0 +1,19 @@
|
|||
(function() {
|
||||
window.webtrendsAsyncInit = function() {
|
||||
var dcs = new Webtrends.dcs().init({
|
||||
dcsid: 'dcsk3ol5yvz5bdu9x8ttypqsj_3o6u',
|
||||
domain: 'statse.webtrendslive.com',
|
||||
timezone: 0,
|
||||
offsite: true,
|
||||
download: true,
|
||||
downloadtypes: 'xls,doc,pdf,txt,csv,zip,docx,xlsx,rar,gzip,xpi,jar',
|
||||
onsitedoms: 'marketplace.mozilla.org',
|
||||
plugins: {
|
||||
//hm:{src:"//s.webtrends.com/js/webtrends.hm.js"}
|
||||
}
|
||||
}).track();
|
||||
};
|
||||
|
||||
// The webtrends docs don't have this so make sure it works.
|
||||
webtrendsAsyncInit();
|
||||
})();
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,19 @@
|
|||
z.page.on('fragmentloaded', function() {
|
||||
window.webtrendsAsyncInit = function() {
|
||||
var dcs = new Webtrends.dcs().init({
|
||||
dcsid: 'dcsk3ol5yvz5bdu9x8ttypqsj_3o6u',
|
||||
domain: 'statse.webtrendslive.com',
|
||||
timezone: 0,
|
||||
offsite: true,
|
||||
download: true,
|
||||
downloadtypes: 'xls,doc,pdf,txt,csv,zip,docx,xlsx,rar,gzip,xpi,jar',
|
||||
onsitedoms: 'marketplace.mozilla.org',
|
||||
plugins: {
|
||||
//hm:{src:"//s.webtrends.com/js/webtrends.hm.js"}
|
||||
}
|
||||
}).track();
|
||||
};
|
||||
|
||||
// The webtrends docs don't have this so make sure it works.
|
||||
webtrendsAsyncInit();
|
||||
});
|
|
@ -157,6 +157,7 @@ CSS = {
|
|||
JS = {
|
||||
'mkt/devreg': (
|
||||
'js/lib/jquery-1.6.4.js',
|
||||
'js/lib/webtrends.js',
|
||||
'js/lib/underscore.js',
|
||||
'js/zamboni/browser.js',
|
||||
'js/amo2009/addons.js',
|
||||
|
@ -182,6 +183,9 @@ JS = {
|
|||
'js/zamboni/l10n.js',
|
||||
'js/zamboni/debouncer.js',
|
||||
|
||||
# Tracking.
|
||||
'js/devreg/tracking.js',
|
||||
|
||||
# Users.
|
||||
'js/zamboni/users.js',
|
||||
|
||||
|
@ -212,6 +216,7 @@ JS = {
|
|||
),
|
||||
'mkt/consumer': (
|
||||
'js/lib/jquery-1.7.1.js',
|
||||
'js/lib/webtrends.js',
|
||||
'js/lib/underscore.js',
|
||||
'js/lib/format.js',
|
||||
'js/mkt/init.js',
|
||||
|
@ -221,6 +226,7 @@ JS = {
|
|||
'js/common/keys.js',
|
||||
'js/mkt/capabilities.js',
|
||||
'js/mkt/fragments.js',
|
||||
'js/mkt/tracking.js',
|
||||
'js/mkt/overlay.js',
|
||||
'js/mkt/slider.js',
|
||||
'js/mkt/login.js',
|
||||
|
|
Загрузка…
Ссылка в новой задаче