//individual page tracking implemented by johns if (window.location.toString().toLowerCase().indexOf("addamsfamily/") > -1){ var thisPage = window.location.toString().toLowerCase(); var startIndex = thisPage.indexOf("addamsfamily/") + 13; thisPage = "/shows/addamsfamily/" + thisPage.substring(startIndex); //alert(thisPage); } ////////////////////////by johns com.mtvi.reporting.Account={ name:'tvland', dynamic:'true', list:'tvlanddev=mtvi', filters:'javascript:,tvland.com,mtvi.com' }; var dispatcher=com.mtvi.reporting.Dispatcher; dispatcher.setAttribute("channel","Shows"); dispatcher.setAttribute("prop3",location.search.substring(1).split("&").join("|")); dispatcher.setAttribute("pageName",thisPage); //dispatcher.setDefaultData() sets the pagename and hier //dispatcher.setDefaultData(); /************************************ To set the pageName explicitly use: dispatcher.setAttribute("pageName","blogs/"+YOUR_PAGE_NAME_HERE); dispatcher.setAttribute("hier2","blogs/"+YOUR_PAGE_NAME_HERE); DO NOT USE dispatcher.setDefaultData()!!! ************************************/ dispatcher.sendCall();