//instantiate tracking object with report suite ID var s = s_gi("wdgvxhelpdisneyplusprod") //designate tracking server s.trackingServer = "wdgvxhelpdisneyplusprod.112.2o7.net"; s.prop2 = window.location.href; let params = (new URL(document.location)).searchParams; let name = params.get("cat"); s.prop14 = name; document.addEventListener("DOMContentLoaded", function() { s.pageName = document.title; s.t(); });