-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
How to use Google Analytics v2 API #1695
Comments
Hello, not sure what issue you're having. Did you try https://docsify.js.org/#/plugins?id=google-analytics ? |
@trusktr yes, I use ga plugin like this:
but in did, the http request param is v1 version, but Google Analytics api need v2 version |
Do you mean we need a https://github.com/docsifyjs/docsify/blob/develop/src/plugins/ga.js If you can submit a new ga2.js, that'd be awesome. |
Also if you post a live example, that'd help. I'm not experienced with ga. |
@trusktr Thanks for your reply, maybe my description is not accurate enough. I checked the code script carefully, the v1 code script src is |
Google analytics is not tracking user activity. Based in a brief research, this is related to the version of GA API being called from Ga plugin. New GA codies are using V2 but the pluging calls V1. In an attempt to fix this, I'm adding a loca ga-temp.js and using it instead of CDN oficial version Not sure if this will solve the issue but worth the attempt You can find more information about the issue here: docsifyjs/docsify#1695
Hello folks! I can see #1702 have a test failing and it does not see any action for few months. Also, there's any documented work around to make Google Analytics work meanwhile? |
Docsify GA plugin seems to be broken: - docsifyjs/docsify#1695 - docsifyjs/docsify#1702
- The new GA4 tracking code is still not working with the official plugin - To know more: docsifyjs/docsify#1695
Feature request
What problem does this feature solve?
I use ga plugin, set the right ga code, but Google Analytics can not recived data, ga.min.js request param is
v=1
, but Google Analytics gtag.js request param isv=2
What does the proposed API look like?
How should this be implemented in your opinion?
Are you willing to work on this yourself?
Yes
The text was updated successfully, but these errors were encountered: