From b30503be933d1dcc145d66e74fbe58fb9c43cd55 Mon Sep 17 00:00:00 2001 From: Eric Wang Date: Sat, 12 Sep 2015 17:12:54 -0700 Subject: [PATCH] Update locations of constants in Google Analytics documentation --- docs/services/google_analytics.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/services/google_analytics.rst b/docs/services/google_analytics.rst index aa9127f..1afa354 100644 --- a/docs/services/google_analytics.rst +++ b/docs/services/google_analytics.rst @@ -72,7 +72,7 @@ Tracking multiple domains The default code is suitable for tracking a single domain. If you track multiple domains, set the :const:`GOOGLE_ANALYTICS_TRACKING_STYLE` -setting to one of the :const:`analytical.google_analytics.SCOPE_*` +setting to one of the :const:`analytical.templatetags.google_analytics.SCOPE_*` constants: ============================= ===== ============================================= @@ -87,7 +87,7 @@ Constant Value Description ============================= ===== ============================================= As noted, the default tracking style is -:const:`~analytical.google_analytics.TRACK_SINGLE_DOMAIN`. +:const:`~analytical.templatetags.google_analytics.TRACK_SINGLE_DOMAIN`. When you track multiple (sub)domains, django-analytical needs to know what domain name to pass to Google Analytics. If you use the contrib @@ -159,7 +159,7 @@ when your render a template containing the tracking code:: The value of the context variable is a tuple *(name, value, [scope])*. The scope parameter is one of the -:const:`analytical.google_analytics.SCOPE_*` constants: +:const:`analytical.templatetags.google_analytics.SCOPE_*` constants: ================= ====== ============================================= Constant Value Description @@ -171,7 +171,7 @@ Constant Value Description ``SCOPE_PAGE`` 3 Defines page-level activity. ================= ====== ============================================= -The default scope is :const:`~analytical.google_analytics.SCOPE_PAGE`. +The default scope is :const:`~analytical.templatetags.google_analytics.SCOPE_PAGE`. You may want to set custom variables in a context processor that you add to the :data:`TEMPLATE_CONTEXT_PROCESSORS` list in :file:`settings.py`::