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

Update generate/protocol.go to support newer measurement protocol HTML #7

Open
jpillora opened this issue Apr 14, 2017 · 0 comments
Open

Comments

@jpillora
Copy link
Owner

The newer HTML seems to include some new hit-type parameters

https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters

This package is currently generated using an old HTML copy of the GA API docs, found here:

https://raw.githubusercontent.com/jpillora/go-ogle-analytics/master/generate/protocol-v1.html

It would be awesome if someone could update https://github.com/jpillora/go-ogle-analytics/blob/master/generate/protocol.go to support the new HTML.

protocol.go reads the HTML, copies relevant information into structs, then converts those structs into code, and finally, writes the code for each hit type into each of the type-*.go files found at the directory root.

@jpillora jpillora changed the title Update generate/protocol.go to support new measurement protocol HTML Update generate/protocol.go to support newer measurement protocol HTML Apr 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant