summaryrefslogtreecommitdiffstats
path: root/docs/html/distribute
diff options
context:
space:
mode:
authorsmain@google.com <smain@google.com>2014-10-08 16:53:42 -0700
committersmain@google.com <smain@google.com>2014-10-14 19:03:08 -0700
commitd8d20f52ec0550477b773cee4c0f0343f2a9301f (patch)
tree0415317fd235c886591a7592a0d4431d2096050a /docs/html/distribute
parenta3287768e267f71fbce5d3341b6db8f3a9e04230 (diff)
downloadframeworks_base-d8d20f52ec0550477b773cee4c0f0343f2a9301f.zip
frameworks_base-d8d20f52ec0550477b773cee4c0f0343f2a9301f.tar.gz
frameworks_base-d8d20f52ec0550477b773cee4c0f0343f2a9301f.tar.bz2
update analytics event tracking calls to use new script
bug: 16331906 Change-Id: I4cd8f08509cfb887a424696553404ba3c635151b
Diffstat (limited to 'docs/html/distribute')
-rw-r--r--docs/html/distribute/tools/promote/badges.jd4
-rw-r--r--docs/html/distribute/tools/promote/device-art.jd2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/html/distribute/tools/promote/badges.jd b/docs/html/distribute/tools/promote/badges.jd
index e91a804..4bea8be 100644
--- a/docs/html/distribute/tools/promote/badges.jd
+++ b/docs/html/distribute/tools/promote/badges.jd
@@ -101,7 +101,7 @@ function buildButton(form) {
+ selectedValue + imageEnd);
// Send the event to Analytics
- _gaq.push(['_trackEvent', 'Distribute', 'Create Google Play Badge', 'Package ' + selectedValue]);
+ ga('send', 'event', 'Distribute', 'Create Google Play Badge', 'Package ' + selectedValue);
} else if (form["publisher"].value != "Example, Inc.") {
$("#preview").show();
var publisherName = escapeHTML(form["publisher"].value);
@@ -113,7 +113,7 @@ function buildButton(form) {
+ selectedValue + imageEnd);
// Send the event to Analytics
- _gaq.push(['_trackEvent', 'Distribute', 'Create Google Play Badge', 'Publisher ' + selectedValue]);
+ ga('send', 'event', 'Distribute', 'Create Google Play Badge', 'Publisher ' + selectedValue);
} else {
alert("Please enter your package name or publisher name");
}
diff --git a/docs/html/distribute/tools/promote/device-art.jd b/docs/html/distribute/tools/promote/device-art.jd
index a204ea1..1736060 100644
--- a/docs/html/distribute/tools/promote/device-art.jd
+++ b/docs/html/distribute/tools/promote/device-art.jd
@@ -428,7 +428,7 @@ feature image or screenshots for your Google Play app listing.</p>
g_currentImage = img;
createFrame();
// Send the event to Analytics
- _gaq.push(['_trackEvent', 'Distribute', 'Create Device Art', g_currentDevice.title]);
+ ga('send', 'event', 'Distribute', 'Create Device Art', g_currentDevice.title);
});
});
});