Wrapper to the Google Analytics function

A wrapper function so that:
1) JS tests can be written to ask whether 'trackUsage' was called
2) tracking could be done internally if needed