Place google analytics before js files so that the event can be invoked