Last active
December 17, 2015 02:49
-
-
Save joshrowley/5538531 to your computer and use it in GitHub Desktop.
Parse Google Analytics Pageviews by Browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'csv' | |
results = Hash.new 0 | |
CSV.foreach('data.csv') { |row| results[row[1]] += 1 } | |
puts results |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Regex to match submission confirmation page:
submissions/\d+$