From 447a11671712e3470a90a3688554335bbae1ead0 Mon Sep 17 00:00:00 2001 From: Clinton Ecker Date: Sun, 5 Apr 2009 16:28:05 -0500 Subject: [PATCH] More editing --- README.mdown | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.mdown b/README.mdown index 172aeb4..47d5359 100644 --- a/README.mdown +++ b/README.mdown @@ -12,9 +12,9 @@ be able to manage these Google analytics accounts from the Django admin page. I also added a mode of operation that excludes the admin interface altogether (you can just use the template tag) -##Two modes of operation## +## Two modes of operation ## -###Administering and associating codes with Django `Sites` framework### +### Administering and associating codes with Django `Sites` framework ### 1. Add the `google_analytics` application to your `INSTALLED_APPS` section of your `settings.py`. This mode requires that you be using the Django sites framework too, so make sure you have that set up as well. 2. Add `GOOGLE_ANALYTICS_MODEL = True` to your `settings.py` @@ -31,9 +31,7 @@ I also added a mode of operation that excludes the admin interface altogether 2. In your base template, usually a `base.html`, insert this tag at the very top: `{% load analytics %}` 3. In the same template, insert the following code right before the closing body tag: `{% analytics "UA-xxxxxx-x" %}` the `UA-xxxxxx-x` is a unique Google Analytics code for you domain when you sign up for a new account. -===================================== - -### License ### +## License ## The MIT License -- 2.39.5