Contents of biomniture.htm:
#####
KREM.com (Example for javascript):
3rd party pages or js required pages:
Page code:
document.write('');
Contents of biomniture.js:
s_account2 = 'bikremcom';
om_linkInternalFilters='javascript:,krem.com';
om_fpcdomain='krem.com';
document.write('');
*
*/
/*
* Begin: Page vars
*/
/* check for the sitepage variable
* if it doesn't exist, create a new empty array.
* if the array is empty, later in the script we'll handle
* it by parsing out the url instead of the location
*/
var om_sitepage = (window.OAS_sitepage) ? OAS_sitepage : "OAS_sitpage MISSING";
var om_sitepage_array = (window.OAS_sitepage) ? OAS_sitepage.split("/") : new Array();
/* get the hostname */
var om_location_domain = this.location.hostname;
/* get the path (for 3rd party handling) */
var om_location_href = this.location.href;
var om_playvideo = false;
var om_tags = "";
/*
* create the page variables array.
* this array will contain the variables we intend
* to send to omniture
*/
var om_page_variables_to_send_array = new Array();
/* look for the query string that has debugging info */
var om_wls = window.location.search;
/* boolean to check for dom support */
var om_dom_support = true; // assume most will support DOM
/*
* End: Page vars
*/
/*
* Begin: Page logic
*/
// check for browser support
if (document.implementation &&
document.implementation.hasFeature &&
document.implementation.hasFeature("html", "1.0")) {
dw("Browser supports DOM");
} else {
dw("PROBLEM, browser doesn't appear to support DOM");
om_dom_support = false;
}
dw("You have choosen to enable debugging. To remove it, remove the variable om_debug=1 from the URL. Thanks! Tristan