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

Example CSV? #26

Open
anselmbradford opened this issue May 2, 2024 · 4 comments
Open

Example CSV? #26

anselmbradford opened this issue May 2, 2024 · 4 comments

Comments

@anselmbradford
Copy link

anselmbradford commented May 2, 2024

This project is great! Thanks! One issue I ran into is the exported CSV I received had a "grand total" entry, which created an extra column in the CSV. This caused the script to generated a json file, but all entries were zero. I had to poke around inside the script to figure out that the extra column was what was causing this issue. Maybe in the "examples" section of the readme, you could show an example of the expected CSV file format (with maybe 10 example lines or something). An implementor could then compare the example to the CSV they get from GA4 and any issues would be more apparent. Also, this would hedge against changes Google may make that changes the format, as it will be more apparent when the example is out-of-date.

@galvarez421
Copy link
Member

Hi @anselmbradford, thank you for the feedback! Did you get the extra "grand total" column after following the GA4 usage instructions?

@anselmbradford
Copy link
Author

anselmbradford commented May 7, 2024

Hi @anselmbradford, thank you for the feedback! Did you get the extra "grand total" column after following the GA4 usage instructions?

I believe so, though I can't be certain. Another team in my org produced the CSV file. I pointed them to the instructions in this project, and the file I received from them had the grand total column. I think an example file could help in this case, where different teams may be producing the CVS and processing it.

@Kolobok12309
Copy link

Kolobok12309 commented May 14, 2024

Same small problem, yesterday export csv from exploration and has empty line in the end of file that crash script. Remove that line and all be fine
Sorry, used 4.x version of package

@leevayy
Copy link

leevayy commented Oct 3, 2024

No example file yet? Would be helpful to have that, I'm trying to format the data from Yandex Metrika to run the script on it

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

4 participants