{"version":"1.0","type":"rich","title":"Google Analytics script for ServiceNow tracking","description":"This example demonstrates how to send ServiceNow page interactions to Google Analytics for tracking. It uses the standard Google Analytics tracking snippet, creating a pageview hit that captures the top-level document title and the current URL location. The code relies on the `ga` function from the Google Analytics JavaScript library, with the `create` command initializing a tracker and the `send` command transmitting the pageview data. The script runs in the browser, reading `window.top.document.title` and `window.location.href` to report activity from within the ServiceNow environment.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-cd0933a953aab9e2e1ba6c685a28538b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}