Created
August 31, 2012 15:10
-
-
Save JoelSutherland/3554293 to your computer and use it in GitHub Desktop.
omni code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
// *** Replace square bracketed placeholders with values provided to you in your implementation documentation *** | |
bN_cfg = { | |
// The "h" parameter whitelists this hostname for beacon initialization. | |
// Note: Can be a string or an array of hostnames. Use "location.hostname" to match URL of current page | |
h: "localhost,domiain.com" | |
}; | |
function runOmni() | |
{ | |
s_265.pfxID="sty"; | |
s_265.pageName="[PageName]"; | |
s_265.channel="us.list"; | |
s_265.linkInternalFilters="javascript:,domain.com"; | |
s_265.prop1="list"; | |
s_265.prop2="[SubDept]"; | |
s_265.mmxgo=true; | |
var s_code=s_265.t(); | |
} | |
s_265_account ="devdomainsvc"; /* Use "domainsvc"; for PROD */ | |
(function(){ | |
var d = document, s = d.createElement('script'); | |
s.type = 'text/javascript'; | |
s.src = (location.protocol == 'https:' ? 'https://s' : 'http://o') + '.domaincdn.com/os_merge/?file=/domain/beacon.min.js&file=/domain/omniture.min.js'; | |
d.getElementsByTagName('head')[0].appendChild(s); | |
})(); | |
</script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment