-
Notifications
You must be signed in to change notification settings - Fork 21
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
Testing in app #4
Comments
You should be seeing the analytics code snippet for Google Analytics. I've updated the readme to include a sample result. (Note that the code in the readme is for the new 0.5.0 release, and isn't compatible with previous versions. If you're still using a previous version, you'd want to stick with the If you're still using the older version, you could try {{ analytics.google }} However, I would recommend updating to the new version. |
Using pip, uninstalled and re-installed Flask-Analytics got error: from flask_analytics.providers.gosquared import GoSquared Sorry to be a pain. |
This is because the package on PyPI, as it stands, is missing the providers directory. @citruspi, you may want to check to ensure that you've properly submitted everything to the PyPI service. @kphretiq, for now you can install the package using the following:
|
@shamrt , installing using the source from github also dint resolve the following error. I had to manually copy the providers directory in lib/python2.7/site-packages/Flask_Analytics-0.5.0-py2.7.egg/flask_analytics/
|
+1 for fixing the PyPI release, without the providers directory the extension is crippled. |
👍 |
Hey, so now that #5 is merged, I just need to bump the version and upload the new version to PyPi. I'm going to re-open this issue until the patched version is live. |
Cool, so version If you run into any issues, just open an issue. |
This is not a bug report, but a request for clarification.
I've installed Flask-Analytics in my app using pip.
I have add GOOGLE_ANALYTICS_ID in app.config.
I have included {{ analytics }} in the body of my index.html template.
I was expecting to see some interesting new text inserted into my html output, but I note no differences.
What should I expect to see in my html output, if anything?
The text was updated successfully, but these errors were encountered: