add google analytics and shim