Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'analytics' is not a valid tag library: Template library analytics not found #9

Open
jameserrico opened this issue Aug 2, 2012 · 2 comments

Comments

@jameserrico
Copy link

This issue is similar to the one reported on the old Google code repository, however the fix suggested there doesn't seem to help: http://code.google.com/p/django-google-analytics/issues/detail?id=5

TemplateSyntaxError at /
'analytics' is not a valid tag library: Template library analytics not found

I'm running Ubuntu 11.04 with Django 1.2 and the UWSGI webserver behind nginx. I install django-google-analytics via pip, and am using the method where the Google Analytics id is entered into the site details in the admin pages. Any ideas what could be causing this issue? It seems to be a configuration issue but I don't have enough familiarity with templates to know how to resolve it.

@lextoumbourou
Copy link

The django-google-analytics app in Pypi actually refers to this project: https://github.com/praekelt/django-google-analytics

It appears clintecker's module is unavailable via Pypi. Sad...

However, you can install it using the git option with pip, like so:

sudo pip install git+git://github.com/clintecker/django-google-analytics.git

@angadgill
Copy link

I had the same issue. It was fixed by installing the correct plugin (this one: git://github.com/clintecker/django-google-analytics.git).

This issue should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants