sticky-header{display:none!important;} #MainContent{padding-top:0!important;} @media (max-width: 768px) { .page-width { margin-top: 0px !important; } } document.addEventListener('click', function(e) { var bnbButtonWrap = e.target.closest('.bnb-buy-now-button'); if (!bnbButtonWrap) { return; } var amazonButton = e.target.closest( 'a.bnb-buy-now-button-link[href*="amazon."]' ); if (!amazonButton) { return; } var eventData = { content_name: 'CollagenGuaShaNeckWrinkleCream', content_category: 'amazon_bnb', product_id: bnbButtonWrap.getAttribute('data-bnb-product-id') || '', product_handle: bnbButtonWrap.getAttribute('data-bnb-product-handle') || '', page_url: window.location.href, amazon_url: amazonButton.href, bnb_btn_id: amazonButton.getAttribute('data-bnb-btn-id') || '' }; var trParams = [ 'id=1140833376090064', 'ev=AmazonClick', 'dl=' + encodeURIComponent(window.location.href), 'rl=' + encodeURIComponent(document.referrer), 'ts=' + Date.now() ]; var fbp = document.cookie.match(/_fbp=([^;]+)/); if (fbp) { trParams.push('fbp=' + encodeURIComponent(fbp[1])); } var fbc = document.cookie.match(/_fbc=([^;]+)/); if (fbc) { trParams.push('fbc=' + encodeURIComponent(fbc[1])); } Object.keys(eventData).forEach(function(key) { trParams.push('cd[' + key + ']=' + encodeURIComponent(eventData[key])); }); new Image().src = 'https://www.facebook.com/tr?' + trParams.join('&'); console.log('AmazonClick sent to Meta', eventData); }, true);