rhodges / oregon-marinemap

Automatically exported from code.google.com/p/oregon-marinemap
0 stars 0 forks source link

Get Google Analytics up and running if it's not already #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Might get an id from Colin.  Should be a django analytics module already used 
in NC at least.

Original issue reported on code.google.com by tim.j.welch@gmail.com on 7 Oct 2010 at 4:52

GoogleCodeExporter commented 9 years ago

Original comment by sfletche@gmail.com on 2 Nov 2010 at 6:30

GoogleCodeExporter commented 9 years ago

Original comment by sfletche@gmail.com on 22 Nov 2010 at 9:55

GoogleCodeExporter commented 9 years ago

Original comment by tim.j.welch@gmail.com on 6 Dec 2010 at 7:21

GoogleCodeExporter commented 9 years ago
there is a google-analytics app in lingcod
this app is among the INSTALLED_APPS in default settings
`GOOGLE_ANALYTICS_MODEL = True` in default settings
the google-analytics_analytics table seems to exist in the db (although I can't 
seem to query it from psql)

followed the instructions in lingcod.google-analytics.USAGE
registered for a UA-xxxxxxx-x analytics code at 
http://www.google.com/analytics/ 
entered that id via the oregon.marinemap.org admin (under sites)
the lingcod app then ensures that the related js code is loaded/included with 
the base.html template

however...this isn't working

adding the UA id to Site in admin causes the main application to bork with a 
template not found error.
experimenting with chinook for now...

Original comment by sfletche@gmail.com on 15 Jan 2011 at 2:11

GoogleCodeExporter commented 9 years ago
had to fix one remaining problem with a failing to load template (see changeset 
1ccb23a64e).
seems to be working now on both chinook and oregon.

Original comment by sfletche@gmail.com on 19 Jan 2011 at 12:17

GoogleCodeExporter commented 9 years ago
check here for analytics:
https://www.google.com/analytics/settings/home?scid=20759055 

Original comment by sfletche@gmail.com on 19 Jan 2011 at 12:17