var _hbEC=0,_hbE=new Array;function _hbEvent(a,b){b=_hbE[_hbEC++]=new Object();b._N=a;b._C=0;return b;} var hbx=_hbEvent("pv");hbx.vpc="HBX0100u";hbx.gn="ehg-aig.hitbox.com"; //BEGIN EDITABLE SECTION //CONFIGURATION VARIABLES //hbx.acct="DM550913NHEM;DM5507244IBS;DM5507245DSR";//ACCOUNT NUMBER(S) -Be sure to insert semicolon delimited account numbers (hbx.acct="local;mid-tier;global";) hbx.acct="DM5703304MVW;DM551122M6SV;DM551122MBWD";//ACCOUNT NUMBER(S) -Be sure to insert semicolon delimited account numbers (hbx.acct="local;mid-tier;global";) //hbx.acct="";//="DM550727FFZV"; hbx.pn="PUT+PAGE+NAME+HERE";//PAGE NAME(S) - Do not change to pull either default. May set = to a server variable. hbx.mlc="CONTENT+CATEGORY";//MULTI-LEVEL CONTENT CATEGORY - Do not change to pull default directory structure hbx.pndef="title";//DEFAULT PAGE NAME (either set to "title" or default file name ex. "index.html") hbx.ctdef="full";//DEFAULT CONTENT CATEGORY //OPTIONAL PAGE VARIABLES //ACTION SETTINGS hbx.fv="";//FORM VALIDATION MINIMUM ELEMENTS OR SUBMIT FUNCTION NAME hbx.lt="auto";//LINK TRACKING hbx.dlf="n";//DOWNLOAD FILTER hbx.dft="n";//DOWNLOAD FILE NAMING hbx.elf="n";//EXIT LINK FILTER //CUSTOM VARIABLES hbx.ci="";//CUSTOMER ID hbx.hc1="";//CUSTOM 1 -- Set Dim 1 = Customer ID | Dim 2 = Content Category - Page Name hbx.hc2="";//CUSTOM 2 -- Set Dim 1 = Successful (or) Unsuccessful | Dim 2 = Customer ID hbx.hc3="";//CUSTOM 3 hbx.hc4="";//CUSTOM 4 hbx.hrf="";//CUSTOM REFERRER hbx.pec="";//ERROR CODES - Use to flag user input errors //Internal Search var ev1 = new _hbEvent("search"); // required definition to create custom event //ev1.keywords = ""; // required value -- populate with search term //ev1.results = "1"; // Number of results -- when set = 0 the word becomes a failed keyword //ev1.attr1 = ""; // Search attribute -- best recommendation is to set this = to the audience type //ev1.attr2 = ""; // Search attribute -- best recommendation is to set this = to the Country (dash delimit if more than one country is chosen) or Select+All //ev1.attr3 = ""; // Search attribute -- best recommendation is to set this = to the category //ev1.attr4 = ""; // Search attribute -- use to populate whatever other metric you feel is important. //Optional Variables //SEGMENTS AND FUNNELS hbx.seg="";//VISITOR SEGMENTATION hbx.fnl="";//FUNNELS //CAMPAIGNS hbx.cmp="";//CAMPAIGN ID hbx.cmpn="";//CAMPAIGN ID IN QUERY hbx.dcmp="";//DYNAMIC CAMPAIGN ID hbx.dcmpn="";//DYNAMIC CAMPAIGN ID IN QUERY hbx.dcmpe="";//DYNAMIC CAMPAIGN EXPIRATION hbx.dcmpre="";//DYNAMIC CAMPAIGN RESPONSE EXPIRATION hbx.hra="";//RESPONSE ATTRIBUTE hbx.hqsr="";//RESPONSE ATTRIBUTE IN REFERRAL QUERY hbx.hqsp="ATT";//RESPONSE ATTRIBUTE IN QUERY hbx.hlt="";//LEAD TRACKING hbx.hla="";//LEAD ATTRIBUTE hbx.gp="";//CAMPAIGN GOAL hbx.gpn="";//CAMPAIGN GOAL IN QUERY hbx.hcn="";//CONVERSION ATTRIBUTE hbx.hcv="";//CONVERSION VALUE hbx.cp="null";//LEGACY CAMPAIGN hbx.cpd="";//CAMPAIGN DOMAIN //INSERT CUSTOM EVENTS -- All overwrites must happen before the reference to hbx.js is made. function cleanCharacters(str) { var text = str; text = text.replace(/ /g, "+"); var pattern = new RegExp(/[^a-zA-Z_0-9_+_\/_-]/g); var result = text.replace(pattern, ""); return result; } //END EDITABLE SECTION