browserslist-ga-export icon indicating copy to clipboard operation
browserslist-ga-export copied to clipboard

Example CSV?

Open anselmbradford opened this issue 1 year ago • 4 comments

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.

anselmbradford avatar May 02 '24 18:05 anselmbradford

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

galvarez421 avatar May 05 '24 21:05 galvarez421

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.

anselmbradford avatar May 07 '24 12:05 anselmbradford

~~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

Kolobok12309 avatar May 14 '24 07:05 Kolobok12309

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

leevayy avatar Oct 03 '24 12:10 leevayy