CINXE.COM
Bicycling
<!doctype html> <html lang="en"> <head> <script> var content = ''; window.onload = function (){ var fired = false; var metas = document.getElementsByTagName('meta'); for (var i=0; i<metas.length; ++i) { if (metas[i].getAttribute('http-equiv') == 'refresh') { content = metas[i].getAttribute('content'); } } if(content != ''){ window.onbeforeunload = function(event){ if((content.indexOf('cds_to_id') > -1 && content.indexOf('DestinationLogging') == -1 ) && fired == false ){ xmlhttp=new XMLHttpRequest(); var url = '/servlet/AJAXDestinationLogging?'; url += 'lsid=43382252079081638' url += '&vid=1'; url += '&cds_param=' + encodeURIComponent(content); xmlhttp.open('POST',url,false); xmlhttp.send(); } return; } } var elements = document.getElementsByTagName('a'); for(var i = 0, len = elements.length; i < len; i++) { elements[i].onclick = function (event) { if(this.getAttribute('data-cds_to_id') || (this.href.indexOf('cds_to_id') > -1 && this.href.indexOf('DestinationLogging') == -1 ) ){ xmlhttp=new XMLHttpRequest(); var url = '/servlet/AJAXDestinationLogging?'; url += 'lsid=43382252079081638' url += '&vid=1'; if(this.getAttribute('data-cds_to_id')){ url += '&cds_to_id=' + this.getAttribute('data-cds_to_id');} if((this.href.indexOf('cds_to_id') > -1 && this.href.indexOf('DestinationLogging') == -1 )) {url += '&cds_param=' + encodeURIComponent(this.href);} xmlhttp.open('POST',url,true); xmlhttp.send(); fired = true; } return true; } } } </script> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Bicycling</title> <meta http-equiv="refresh" content="0;URL='https://shop.bicycling.com/bicycling-all-access-membership.html?cds_tracking_code=bicengredirect'" /> </head> <body><script type="text/javascript"> (function () { var cnv = document.createElement('script'); cnv.async = true; var cnvJsHost = (("https:" == document.location.protocol) ? "https://sts.eccmp.com" : "http://sts.eccmp.com"); cnv.src = cnvJsHost + '/sts/scripts/conversen-SDK.js'; document.getElementsByTagName('body')[0].appendChild(cnv); } ()); window.cnvAsyncInit = function() {Cnv.init({ custId: '722', entityId: '100', restLink: 'sts.eccmp.com', enableFacebook: false, enableSocialEvents: false }); } </script> </body> </html>