From 03568253bd6ffcf23e15c43f9ec888f2ce86a889 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 27 Mar 2010 21:17:53 -0700 Subject: [PATCH] Track visits to docs with GA. --- doc-src/layouts/default.haml | 1 + doc-src/layouts/example.haml | 2 ++ doc-src/layouts/partials/analytics.html | 9 +++++++++ doc-src/layouts/reference.haml | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 doc-src/layouts/partials/analytics.html diff --git a/doc-src/layouts/default.haml b/doc-src/layouts/default.haml index cd04dadf..f6e2702c 100644 --- a/doc-src/layouts/default.haml +++ b/doc-src/layouts/default.haml @@ -24,3 +24,4 @@ e.after(''); }); }); + = render "partials/analytics" diff --git a/doc-src/layouts/example.haml b/doc-src/layouts/example.haml index db882c86..7f69829d 100644 --- a/doc-src/layouts/example.haml +++ b/doc-src/layouts/example.haml @@ -11,3 +11,5 @@ #container #main = yield + + = render "partials/analytics" \ No newline at end of file diff --git a/doc-src/layouts/partials/analytics.html b/doc-src/layouts/partials/analytics.html new file mode 100644 index 00000000..7887b3a6 --- /dev/null +++ b/doc-src/layouts/partials/analytics.html @@ -0,0 +1,9 @@ + + diff --git a/doc-src/layouts/reference.haml b/doc-src/layouts/reference.haml index d7ce1c3b..0e3445a8 100644 --- a/doc-src/layouts/reference.haml +++ b/doc-src/layouts/reference.haml @@ -10,4 +10,4 @@ = render "partials/reference/constants" -= render "partials/reference/mixins" \ No newline at end of file += render "partials/reference/mixins"