add code from https://developers.google.com/analytics/devguides/collection/other/mobileWebsites