diff options
author | Scott Main <smain@google.com> | 2012-10-03 15:23:06 -0700 |
---|---|---|
committer | Scott Main <smain@google.com> | 2012-10-03 16:21:51 -0700 |
commit | fe3057f9135b2c0307572e17954f3ac43a12d4ce (patch) | |
tree | aaf34a1df131e0806aa1dcea0c2c2c4174372491 /docs/html/design | |
parent | 66ff277fbd143c2d5da8c96ecb174ddc6f75562f (diff) | |
download | frameworks_base-fe3057f9135b2c0307572e17954f3ac43a12d4ce.zip frameworks_base-fe3057f9135b2c0307572e17954f3ac43a12d4ce.tar.gz frameworks_base-fe3057f9135b2c0307572e17954f3ac43a12d4ce.tar.bz2 |
add analytics event tracking for Design downloads, SDK downloads, Badges and Device art.
Change-Id: I479b0059678d31fb993f6ddc68f5a7ef5ee26ecc
Diffstat (limited to 'docs/html/design')
-rw-r--r-- | docs/html/design/downloads/index.jd | 27 | ||||
-rw-r--r-- | docs/html/design/patterns/actionbar.jd | 3 | ||||
-rw-r--r-- | docs/html/design/style/color.jd | 3 | ||||
-rw-r--r-- | docs/html/design/style/iconography.jd | 3 | ||||
-rw-r--r-- | docs/html/design/style/typography.jd | 6 |
5 files changed, 28 insertions, 14 deletions
diff --git a/docs/html/design/downloads/index.jd b/docs/html/design/downloads/index.jd index 5f78aea..00f4467 100644 --- a/docs/html/design/downloads/index.jd +++ b/docs/html/design/downloads/index.jd @@ -12,7 +12,8 @@ You can also download individual files listed below.</p> <div class="layout-content-col span-4"> <p> - <a class="download-button" href="{@docRoot}downloads/design/Android_Design_Downloads_20120823.zip">Download All</a> + <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'All Design Assets']);" + href="{@docRoot}downloads/design/Android_Design_Downloads_20120823.zip">Download All</a> </p> </div> @@ -37,10 +38,14 @@ available.</p> <div class="layout-content-col span-4"> <p> - <a class="download-button" href="{@docRoot}downloads/design/Android_Design_Fireworks_Stencil_20120814.png">Adobe® Fireworks® PNG Stencil</a> - <a class="download-button" href="{@docRoot}downloads/design/Android_Design_Illustrator_Vectors_20120814.ai">Adobe® Illustrator® Stencil</a> - <a class="download-button" href="{@docRoot}downloads/design/Android_Design_OmniGraffle_Stencil_20120814.graffle">Omni® OmniGraffle® Stencil</a> - <a class="download-button" href="{@docRoot}downloads/design/Android_Design_Holo_Widgets_20120814.zip">Adobe® Photoshop® Sources</a> + <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Fireworks Stencil']);" + href="{@docRoot}downloads/design/Android_Design_Fireworks_Stencil_20120814.png">Adobe® Fireworks® PNG Stencil</a> + <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Illustrator Stencil']);" + href="{@docRoot}downloads/design/Android_Design_Illustrator_Vectors_20120814.ai">Adobe® Illustrator® Stencil</a> + <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'OmniGraffle Stencil']);" + href="{@docRoot}downloads/design/Android_Design_OmniGraffle_Stencil_20120814.graffle">Omni® OmniGraffle® Stencil</a> + <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Photoshop Sources']);" + href="{@docRoot}downloads/design/Android_Design_Holo_Widgets_20120814.zip">Adobe® Photoshop® Sources</a> </p> </div> @@ -66,7 +71,8 @@ modify to match your theme, plus source files.</p> <div class="layout-content-col span-4"> <p> - <a class="download-button" href="{@docRoot}downloads/design/Android_Design_Icons_20120814.zip">Action Bar Icon Pack</a> + <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Action Bar Icons']);" + href="{@docRoot}downloads/design/Android_Design_Icons_20120814.zip">Action Bar Icon Pack</a> </p> </div> @@ -91,8 +97,10 @@ requirements of UI and high-resolution screens.</p> <div class="layout-content-col span-4"> <p> - <a class="download-button" href="{@docRoot}downloads/design/Roboto_Hinted_20120823.zip">Roboto</a> - <a class="download-button" href="{@docRoot}downloads/design/Roboto_Specimen_Book_20111129.pdf">Specimen Book</a> + <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Roboto ZIP']);" + href="{@docRoot}downloads/design/Roboto_Hinted_20120823.zip">Roboto</a> + <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Roboto Specemin Book']);" + href="{@docRoot}downloads/design/Roboto_Specimen_Book_20111129.pdf">Specimen Book</a> </p> </div> @@ -115,7 +123,8 @@ shade that can be used as a complement when needed.</p> <div class="layout-content-col span-4"> <p> - <a class="download-button" href="{@docRoot}downloads/design/Android_Design_Color_Swatches_20120229.zip">Color Swatches</a> + <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Color Swatches']);" + href="{@docRoot}downloads/design/Android_Design_Color_Swatches_20120229.zip">Color Swatches</a> </p> </div> diff --git a/docs/html/design/patterns/actionbar.jd b/docs/html/design/patterns/actionbar.jd index 5484ba3..353cee6 100644 --- a/docs/html/design/patterns/actionbar.jd +++ b/docs/html/design/patterns/actionbar.jd @@ -293,7 +293,8 @@ files for further customization. </p> <p> -<a href="{@docRoot}downloads/design/Android_Design_Icons_20120814.zip">Download the Action Bar Icon Pack</a> +<a onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Action Bar Icons (@actionbar page)']);" + href="{@docRoot}downloads/design/Android_Design_Icons_20120814.zip">Download the Action Bar Icon Pack</a> </p> diff --git a/docs/html/design/style/color.jd b/docs/html/design/style/color.jd index 5be34ac..a7daacf 100644 --- a/docs/html/design/style/color.jd +++ b/docs/html/design/style/color.jd @@ -115,7 +115,8 @@ 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 href="{@docRoot}downloads/design/Android_Design_Color_Swatches_20120229.zip">Download the swatches</a></p> +<p><a onClick="_gaq.push(['_trackEvent', '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 78e8680..76f4aa4 100644 --- a/docs/html/design/style/iconography.jd +++ b/docs/html/design/style/iconography.jd @@ -110,7 +110,8 @@ files for further customization. </p> <p> -<a href="{@docRoot}downloads/design/Android_Design_Icons_20120814.zip">Download the Action Bar Icon Pack</a> +<a onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Action Bar Icons (@iconography page)']);" + href="{@docRoot}downloads/design/Android_Design_Icons_20120814.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 f58c876..427b8c6 100644 --- a/docs/html/design/style/typography.jd +++ b/docs/html/design/style/typography.jd @@ -18,8 +18,10 @@ italic weights by default.</p> <img src="{@docRoot}design/media/typography_alphas.png"> -<p><a href="{@docRoot}downloads/design/Roboto_Hinted_20120823.zip">Download Roboto</a></p> -<p><a href="{@docRoot}downloads/design/Roboto_Specimen_Book_20111129.pdf">Specimen Book</a></p> +<p><a onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Roboto ZIP (@typography page)']);" + href="{@docRoot}downloads/design/Roboto_Hinted_20120823.zip">Download Roboto</a></p> +<p><a onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Roboto Specimen Booke (@typography page)']);" + href="{@docRoot}downloads/design/Roboto_Specimen_Book_20111129.pdf">Specimen Book</a></p> </div> </div> |