trackEvent function should work now, still need to do some more testing on it. Started parsing url for trackPageview function, not sure if this gives the right arguments