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

Change of User-Agent #22

Open
irecevic opened this issue Jul 25, 2020 · 0 comments
Open

Change of User-Agent #22

irecevic opened this issue Jul 25, 2020 · 0 comments

Comments

@irecevic
Copy link

Hits are not getting through to GA server unless the user-agent is changed to something else using extra headers. It must be different from python-requests/x.xx.x

Sample
report(google_id, visitor_id, data, extra_headers={"User-Agent": "YourFabulousAgent/0.1"})

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