-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Google Analytics fix #3349
Google Analytics fix #3349
Conversation
@@ -585,7 +585,7 @@ def iterate_over_children(children_list): | |||
|
|||
derived_fields = ["types"] | |||
|
|||
with Blocks(theme=config["theme"], css=config["theme"]) as blocks: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated, but noticed that this issue as well
All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-3349-all-demos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @abidlabs !
Thanks for reviewing @freddyaboulton! |
It turns out that in the front end,
analytics_enabled
was always hardcoded to beFalse
, which meant that Google analytics were never called. This fixes that so that we have more reliable usage analytics.