browserslist-ga-export
browserslist-ga-export copied to clipboard
Example CSV?
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.
Hi @anselmbradford, thank you for the feedback! Did you get the extra "grand total" column after following the GA4 usage instructions?
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.
~~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
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