Altered the google analytics code to use our own custom function.