From 91a53a27f5af6cedc07540a16c6529d39b6251c8 Mon Sep 17 00:00:00 2001 From: "smain@google.com" Date: Fri, 15 Jul 2016 15:25:25 -0700 Subject: add redirect for "getting started" help button in Studio. Also add ?utm_medium=android-studio to all such URLs so we can track the traffic routing in Analytics Change-Id: I914d4fac51d3cf7e839a7b5785a7c8cd43b57346 --- docs/html/_redirects.yaml | 50 ++++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 24 deletions(-) (limited to 'docs') diff --git a/docs/html/_redirects.yaml b/docs/html/_redirects.yaml index 0ee8157dd665..4cfe8087a1ef 100644 --- a/docs/html/_redirects.yaml +++ b/docs/html/_redirects.yaml @@ -1146,47 +1146,47 @@ redirects: # Android Studio help button redirects - from: /r/studio-ui/vector-asset-studio.html - to: /studio/write/vector-asset-studio.html + to: /studio/write/vector-asset-studio.html?utm_medium=android-studio - from: /r/studio-ui/image-asset-studio.html - to: /studio/write/image-asset-studio.html + to: /studio/write/image-asset-studio.html?utm_medium=android-studio - from: /r/studio-ui/project-structure.html - to: /studio/projects/index.html + to: /studio/projects/index.html?utm_medium=android-studio - from: /r/studio-ui/android-monitor.html - to: /studio/profile/android-monitor.html + to: /studio/profile/android-monitor.html?utm_medium=android-studio - from: /r/studio-ui/am-logcat.html - to: /studio/debug/am-logcat.html + to: /studio/debug/am-logcat.html?utm_medium=android-studio - from: /r/studio-ui/am-memory.html - to: /studio/profile/am-memory.html + to: /studio/profile/am-memory.html?utm_medium=android-studio - from: /r/studio-ui/am-cpu.html - to: /studio/profile/am-cpu.html + to: /studio/profile/am-cpu.html?utm_medium=android-studio - from: /r/studio-ui/am-gpu.html - to: /studio/profile/am-gpu.html + to: /studio/profile/am-gpu.html?utm_medium=android-studio - from: /r/studio-ui/am-network.html - to: /studio/profile/am-network.html + to: /studio/profile/am-network.html?utm_medium=android-studio - from: /r/studio-ui/am-hprof.html - to: /studio/profile/am-hprof.html + to: /studio/profile/am-hprof.html?utm_medium=android-studio - from: /r/studio-ui/am-allocation.html - to: /studio/profile/am-allocation.html + to: /studio/profile/am-allocation.html?utm_medium=android-studio - from: /r/studio-ui/am-methodtrace.html - to: /studio/profile/am-methodtrace.html + to: /studio/profile/am-methodtrace.html?utm_medium=android-studio - from: /r/studio-ui/am-sysinfo.html - to: /studio/profile/am-sysinfo.html + to: /studio/profile/am-sysinfo.html?utm_medium=android-studio - from: /r/studio-ui/am-screenshot.html - to: /studio/debug/am-screenshot.html + to: /studio/debug/am-screenshot.html?utm_medium=android-studio - from: /r/studio-ui/am-video.html - to: /studio/debug/am-video.html + to: /studio/debug/am-video.html?utm_medium=android-studio - from: /r/studio-ui/avd-manager.html - to: /studio/run/managing-avds.html + to: /studio/run/managing-avds.html?utm_medium=android-studio - from: /r/studio-ui/rundebugconfig.html - to: /studio/run/rundebugconfig.html + to: /studio/run/rundebugconfig.html?utm_medium=android-studio - from: /r/studio-ui/devicechooser.html - to: /studio/run/emulator.html + to: /studio/run/emulator.html?utm_medium=android-studio - from: /r/studio-ui/virtualdeviceconfig.html - to: /studio/run/managing-avds.html + to: /studio/run/managing-avds.html?utm_medium=android-studio - from: /r/studio-ui/emulator.html - to: /studio/run/emulator.html + to: /studio/run/emulator.html?utm_medium=android-studio - from: /r/studio-ui/instant-run.html - to: /studio/run/index.html#instant-run + to: /studio/run/index.html?utm_medium=android-studio#instant-run - from: /r/studio-ui/test-recorder.html to: http://tools.android.com/tech-docs/test-recorder - from: /r/studio-ui/export-licenses.html @@ -1194,8 +1194,10 @@ redirects: - from: /r/studio-ui/experimental-to-stable-gradle.html to: http://tools.android.com/tech-docs/new-build-system/gradle-experimental/experimental-to-stable-gradle - from: /r/studio-ui/sdk-manager.html - to: https://developer.android.com/studio/intro/update.html#sdk-manager + to: /studio/intro/update.html?utm_medium=android-studio#sdk-manager - from: /r/studio-ui/newjclass.html - to: /studio/write/index.html + to: /studio/write/index.html?utm_medium=android-studio - from: /r/studio-ui/menu-help.html - to: /studio/intro/index.html + to: /studio/intro/index.html?utm_medium=android-studio +- from: /r/studio-ui/menu-start.html + to: /training/index.html?utm_medium=android-studio -- cgit v1.2.3-59-g8ed1b