diff options
| author | smain@google.com <smain@google.com> | 2014-10-08 16:53:42 -0700 |
|---|---|---|
| committer | smain@google.com <smain@google.com> | 2014-10-14 19:03:08 -0700 |
| commit | d8d20f52ec0550477b773cee4c0f0343f2a9301f (patch) | |
| tree | 0415317fd235c886591a7592a0d4431d2096050a /docs/html/design/style | |
| parent | a3287768e267f71fbce5d3341b6db8f3a9e04230 (diff) | |
| download | frameworks_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/design/style')
| -rw-r--r-- | docs/html/design/style/color.jd | 2 | ||||
| -rw-r--r-- | docs/html/design/style/iconography.jd | 2 | ||||
| -rw-r--r-- | docs/html/design/style/typography.jd | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/html/design/style/color.jd b/docs/html/design/style/color.jd index a7daacf..e00f6bc 100644 --- a/docs/html/design/style/color.jd +++ b/docs/html/design/style/color.jd @@ -115,7 +115,7 @@ between visual components. Note that red and green may be indistinguishable to c <p>Blue is the standard accent color in Android's color palette. Each color has a corresponding darker shade that can be used as a complement when needed.</p> -<p><a onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Color Swatches (@color page)']);" +<p><a onClick="ga('send', 'event', 'Design', 'Download', 'Color Swatches (@color page)');" href="{@docRoot}downloads/design/Android_Design_Color_Swatches_20120229.zip">Download the swatches</a></p> <img src="{@docRoot}design/media/color_spectrum.png"> diff --git a/docs/html/design/style/iconography.jd b/docs/html/design/style/iconography.jd index ec7638d..ce7a9af 100644 --- a/docs/html/design/style/iconography.jd +++ b/docs/html/design/style/iconography.jd @@ -140,7 +140,7 @@ files for further customization. </p> <p> -<a onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Action Bar Icons (@iconography page)']);" +<a onClick="ga('send', 'event', 'Design', 'Download', 'Action Bar Icons (@iconography page)');" href="{@docRoot}downloads/design/Android_Design_Icons_20131106.zip">Download the Action Bar Icon Pack</a> </p> diff --git a/docs/html/design/style/typography.jd b/docs/html/design/style/typography.jd index 6923f0b..a665097 100644 --- a/docs/html/design/style/typography.jd +++ b/docs/html/design/style/typography.jd @@ -12,7 +12,7 @@ page.metaDescription=How to use typography in your Android apps. <div class="layout-content-col span-5"> <p> - <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Roboto ZIP']);" + <a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Roboto ZIP');" href="{@docRoot}downloads/design/roboto-1.2.zip">Download Roboto</a> </p> @@ -30,7 +30,7 @@ variant in regular and bold weights, along with an italic style for each weight. <img src="{@docRoot}design/media/typography_variants@2x.png" width="220"> -<p><a onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Roboto Specimen Booke (@typography page)']);" +<p><a onClick="ga('send', 'event', 'Design', 'Download', 'Roboto Specimen Book (@typography page)');" href="{@docRoot}downloads/design/Roboto_Specimen_Book_20131031.pdf">Specimen Book</a></p> </div> |
