if (location.href.match(/^http:\/\/www\.comodo\.com\/affiliate\/$/)) {
// Track PageView Experiment 1: If Users type in http://www.comodo.com/affiliate/
document.write('</noscript>');
document.write('<script type="text/javascript">');
var _gaq = _gaq || [];
_gaq.push(
['_setAccount', 'UA-1245640-2'],
['_trackPageview'],
['b._setAccount', 'UA-1245640-46'],
['b._setAllowLinker', true],
['b._setDomainName', '.comodo.com'],
['b._trackPageview']
);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
document.write('</script>');
}
else if (location.href.match(/^http:\/\/www\.comodo\.com\/affiliate$/)) {
// Track PageView Experiment 1 - If Users type in http://www.comodo.com/affiliate
document.write('</noscript>');
document.write('<script type="text/javascript">');
var _gaq = _gaq || [];
_gaq.push(
['_setAccount', 'UA-1245640-2'],
['_trackPageview'],
['b._setAccount', 'UA-1245640-46'],
['b._setAllowLinker', true],
['b._setDomainName', '.comodo.com'],
['b._trackPageview']
);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
document.write('</script>');
}
else if (location.href.match('/affiliate/index.html')) {
// Track PageView Experiment 1 - If Users type in http://www.comodo.com/affiliate/index.html
document.write('</noscript>');
document.write('<script type="text/javascript">');
var _gaq = _gaq || [];
_gaq.push(
['_setAccount', 'UA-1245640-2'],
['_trackPageview'],
['b._setAccount', 'UA-1245640-46'],
['b._setAllowLinker', true],
['b._setDomainName', '.comodo.com'],
['b._trackPageview']
);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
document.write('</script>');
}
else if (location.href.match('/affiliate/join.html')) {
// Track PageView Experiment 2: But if the page url is the above, run this script:
document.write('</noscript>');
document.write('<script type="text/javascript">');
var _gaq = _gaq || [];
_gaq.push(
['_setAccount', 'UA-1245640-2'],
['_trackPageview'],
['b._setAccount', 'UA-1245640-46'],
['b._setAllowLinker', true],
['b._setDomainName', '.comodo.com'],
['b._trackPageview']
);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
document.write('</script>');
}
else {
// in any other case, do nothing.	
}





