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

Support multiple google_analytics_id's #6

Open
trevoriancox opened this issue Nov 24, 2015 · 0 comments
Open

Support multiple google_analytics_id's #6

trevoriancox opened this issue Nov 24, 2015 · 0 comments

Comments

@trevoriancox
Copy link

utils.build_ga_params assumes that the google_analytics_id is a global setting. However, if an django project uses Sites or otherwise supports more than one site, there may be more than one google_analytics_id. How about checking the request for a google_analytics_id attribute (optionally set by some other middleware) and if it exists, using that instead of settings?

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

1 participant