dougrathbone/Ga.net — pull request #4 by NullSoldier (2013-04-13 01:29:13+00:00)
Title: I fixed.. EVERYTHING

I wanted to use your library but when I pulled your code down it didn't even compile. On top of that, reporting page views didn't work at all. I also noticed you removed events from your example so I re-added it back in.

Critical fixes:
- Page view requests were not sent correctly causing them to never be reported
- The project did not compile because of the sample

Improvements:
- Removed lots of unused code, there's no reason for it. You can get it from your GIT history if you need it again
- Since the data objects (GooglePageView and GoogleEvent) are immutable (and should be), there's no need for validation functions. I moved validation to the constructor.
- Lots of XML comments referenced non-existent parameters. I removed them

In short, I fixed _everything_. The example now works, the code now works. I've tested it.