Add shortcut to register events in google analytics