6

Repro steps:

  1. Go to https://stackoverflow.com/site-analytics.
  2. Click on the Traffic CSV link at the bottom.
  3. Nope.

enter image description here

10
  • Seems to be working fine here. What browser are you using? Any other errors in the console?
    – Adam Lear StaffMod
    Nov 1, 2017 at 22:01
  • @AdamLear latest chrome. No errors besides the screenshoted one. Worth mentioning, downloading posts and votes works perfectly well, is just the traffic for some reason.
    – gdoron
    Nov 1, 2017 at 22:03
  • I did repro but after I changed the filter dates it started working. Now I can't repro any more.
    – rene
    Nov 1, 2017 at 22:06
  • @rene Do you happen to recall what date range produced an error? I don't think that should make a difference, but who knows...
    – Adam Lear StaffMod
    Nov 2, 2017 at 4:19
  • @AdamLear just the defaults so at the time I tried it would have been 2017-07-03 till 2017-10-31. I re-verified where the issue occurred in the js code and if I take your current dev.sstatic.net/Js/site-analytics.js the runtime error would be on line 268: merged.push(d[i][1]); that is inside the for loop that maps over the dataPoints (by the looks of it). It is worth mentioning that the loop executes multiple times but I forgot to take note at which index it went wrong. It certainly wasn't at the first couple of iterations.
    – rene
    Nov 2, 2017 at 7:59
  • @AdamLear, it's working now. so I'm not sure if it was something with the date or not.
    – gdoron
    Nov 2, 2017 at 8:19
  • @AdamLear BTW, is it possible getting the traffic sources as CSV as well? I'm doing some research on the data and it could really help! Thanks.
    – gdoron
    Nov 2, 2017 at 8:30
  • @gdoron Sorry, missed that comment earlier. Would you mind posting a separate feature request for that? Thanks!
    – Adam Lear StaffMod
    Nov 7, 2017 at 19:30
  • @AdamLear sure, should it be on meta SO or just meta SE?
    – gdoron
    Nov 7, 2017 at 19:34
  • @gdoron Meta SE is fine. It'd apply to all sites, I imagine. Thanks again.
    – Adam Lear StaffMod
    Nov 7, 2017 at 20:45

0

Browse other questions tagged .