<!-- Start Tracking Code for analytics_facebook -->
<script data-bc-cookie-consent="4" type="text/plain">
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('set', 'autoConfig', 'false', '304550204204358');
fbq('dataProcessingOptions', []);
fbq('init', '304550204204358');
fbq('set', 'agent', 'plbigcommerce1.2', '304550204204358');
function trackEvents() {
var pathName = window.location.pathname;
fbq('track', 'PageView', {}, {"eventID":"store-7-prd-us-central1-198805666830"});
// Search events start -- only fire if the shopper lands on the /search.php page
if (pathName.indexOf('/search.php') === 0 && getUrlParameter('search_query')) {
fbq('track', 'Search', {
content_type: 'product_group',
content_ids: [],
search_string: getUrlParameter('search_query')
});
}
// Search events end
// Wishlist events start -- only fire if the shopper attempts to add an item to their wishlist
if (pathName.indexOf('/wishlist.php') === 0 && getUrlParameter('added_product_id')) {
fbq('track', 'AddToWishlist', {
content_type: 'product_group',
content_ids: []
});
}
// Wishlist events end
// Lead events start -- only fire if the shopper subscribes to newsletter
if (pathName.indexOf('/subscribe.php') === 0 && getUrlParameter('result') === 'success') {
fbq('track', 'Lead', {});
}
// Lead events end
// Registration events start -- only fire if the shopper registers an account
if (pathName.indexOf('/login.php') === 0 && getUrlParameter('action') === 'account_created') {
fbq('track', 'CompleteRegistration', {}, "");
}
// Registration events end
// Checkout events start -- only fire if the shopper lands on a /checkout* page
if (pathName === '/checkout.php' || /^\/(embedded-)?checkout$/.test(pathName)) {
if (getUrlParameter('action') === 'process_payment') {
fbq('track', 'AddPaymentInfo');
} else {
fbq('track', 'InitiateCheckout', {}, "");
}
}
// Checkout events end
function getUrlParameter(name) {
var cleanName = name.replace(/[\[]/, '\[').replace(/[\]]/, '\]');
var regex = new RegExp('[\?&]' + cleanName + '=([^&#]*)');
var results = regex.exec(window.location.search);
return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
}
}
if (window.addEventListener) {
window.addEventListener("load", trackEvents, false)
}
</script>
<noscript><img height="1" width="1" style="display:none" alt="null" src="https://www.facebook.com/tr?id=304550204204358&ev=PageView&noscript=1&a=plbigcommerce1.2&eid=store-7-prd-us-central1-198805666830"/></noscript>
<!-- End Tracking Code for analytics_facebook -->
<!-- Start Tracking Code for analytics_googleanalytics -->
<meta name="msvalidate.01" content="00862C65439DDED957CEA2B7678C3AEE" />
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5HSVXTW"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!-- End Tracking Code for analytics_googleanalytics -->
<!-- Start Tracking Code for analytics_googleanalytics4 -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script data-cfasync="false" src="https://cdn11.bigcommerce.com/shared/js/google_analytics4-1c2b7be4d55eec47587da63febce263d4592b327.js"></script>
<script data-cfasync="false">
function initGA4(event) {
if (typeof subscribeOnBodlEvents === 'function') {
subscribeOnBodlEvents('G-0FR2DHWQ6W', 'dMjk3Nj', true, false);
}
window.removeEventListener(event.type, initGA4);
}
var eventName = document.readyState === 'complete' ? 'consentScriptsLoaded' : 'DOMContentLoaded';
window.addEventListener(eventName, initGA4, false);
</script>
<!-- End Tracking Code for analytics_googleanalytics4 -->
<!-- Start Tracking Code for analytics_siteverification -->
<!-- ECI Start: Implementation of first time accessed condition, 3/17/2021 -->
<script>
if(window.location.pathname=='/checkout'){
sessionStorage.setItem("status", "True");
sessionStorage.setItem("status_bing", "True");
}
function eci_is_first_time_accessed(){
var status = false;
var flag = sessionStorage.getItem("status");
if(flag=='True'){
sessionStorage.removeItem("status");
status=true;
//console.log('codefired');
}
else{
// console.log('second time');
}
return status;
}
//ECI: Checking payment type: Start: 05-28-2021
function eci_is_cheque_payment(){
var eci_cheque_status = false;
var eci_payment_type = sessionStorage.getItem("eci_payment_type");
if(eci_payment_type=='cheque'){
sessionStorage.removeItem("eci_payment_type");
eci_cheque_status=true;
//console.log('ECI: Code fired');
}
else{
// console.log('ECI: Second time');
}
return eci_cheque_status;
}
//ECI: Checking payment type: End: 05-28-2021
</script>
<!-- ECI End: Implementation of first time accessed condition, 3/17/2021 -->
<!-- ECI: START: Analytics + Adwords Conversion, 1/7/2021 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-142232345-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-142232345-1');
gtag('config', 'AW-970769763');
function trackEcommerce() {
function gaAddTrans(orderID, store, total, tax, shipping, city, state, country, currency, channelInfo) {
var transaction = {
id: orderID,
affiliation: store,
revenue: total,
tax: tax,
shipping: shipping,
city: city,
state: state,
country: country
};
if (currency) {
transaction.currency = currency;
}
ga('ecommerce:addTransaction', transaction);
}
function gaAddItems(orderID, sku, product, variation, price, qty) {
ga('ecommerce:addItem', {
id: orderID,
sku: sku,
name: product,
category: variation,
price: price,
quantity: qty
});
}
function gaTrackTrans() {
ga('ecommerce:send');
}
function gtagAddTrans(orderID, store, total, tax, shipping, city, state, country, currency, channelInfo) {
this.transaction = {
transaction_id: orderID,
affiliation: store,
value: total,
tax: tax,
shipping: shipping,
items: []
};
if (currency) {
this.transaction.currency = currency;
}
}
function gtagAddItem(orderID, sku, product, variation, price, qty) {
this.transaction.items.push({
id: sku,
name: product,
category: variation,
price: price,
quantity: qty
});
}
function gtagTrackTrans() {
if(eci_is_first_time_accessed()){
gtag('event', 'purchase', this.transaction);
gtag('event', 'conversion', {
'send_to': 'AW-970769763/UH5ACNmE5u8BEOOK884D',
'value': this.transaction.value,
'transaction_id': this.transaction.transaction_id,
});
//ECI: Checking payment type: Start: 05-28-2021
if(eci_is_cheque_payment()){
gtag('event', 'conversion', {
'send_to': 'AW-970769763/lb8rCLr5h6QCEOOK884D',
'value': this.transaction.value,
'transaction_id': this.transaction.transaction_id,
});
}
//ECI: Checking payment type: End: 05-28-2021
this.transaction = null;
}
}
if (typeof gtag === 'function') {
this._addTrans = gtagAddTrans;
this._addItem = gtagAddItem;
this._trackTrans = gtagTrackTrans;
} else if (typeof ga === 'function') {
this._addTrans = gaAddTrans;
this._addItem = gaAddItems;
this._trackTrans = gaTrackTrans;
}
}
var pageTracker = new trackEcommerce();
</script>
<!-- ECI: END: Analytics + Adwords Conversion, 1/7/2021 -->
<!-- Start BING Tracking 1/7/2021 -->
<script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"17457529"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script>
<!-- END BING Tracking 1/7/2021 -->
<!-- ECI Start: Implementation of conversion action, Form Submit, 3/30/2021 -->
<script>
if(window.location.pathname=='/special-projects/thank-you'){
gtag('event', 'conversion', {'send_to': 'AW-970769763/T7uGCL6H9f0BEOOK884D'});
}
</script>
<!-- ECI End: Implementation of conversion action, Form Submit, 3/30/2021 -->
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5TBL2DD');</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5HSVXTW');</script>
<!-- End Google Tag Manager -->
<!-- End Tracking Code for analytics_siteverification -->
<script type="text/javascript" src="https://checkout-sdk.bigcommerce.com/v1/loader.js" defer></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>window.consentManagerStoreConfig = function () { return {"storeName":"The Safety Source LLC","privacyPolicyUrl":"https:\/\/safetysourcellc.com\/privacy-policy\/","writeKey":null,"improvedConsentManagerEnabled":true,"GA4ConsentModeEnabled":true,"BODLConsentLoadedEventInStorefront":true,"AlwaysIncludeScriptsWithConsentTag":true}; };</script>
<script type="text/javascript" src="https://cdn11.bigcommerce.com/shared/js/bodl-consent-eced236bd7d5d1675a7704c806ce0cb5b24e44fb.js" defer></script>
<script type="text/javascript" src="https://cdn11.bigcommerce.com/shared/js/storefront/consent-manager-config-0205627cb0b5544a157ee56e3da54f6932db237e.js" defer></script>
<script type="text/javascript" src="https://cdn11.bigcommerce.com/shared/js/storefront/consent-manager-08633fe15aba542118c03f6d45457262fa9fac88.js" defer></script>
<script type="text/javascript">
var BCData = {"product_attributes":{"sku":"MCR9318D7M","upc":"45143592920","mpn":"9318D7M","gtin":"45143592920","weight":{"formatted":"0.10 LBS","value":0.1},"base":true,"image":null,"price":{"without_tax":{"formatted":"$5.36","value":5.36,"currency":"USD"},"tax_label":"Tax"},"out_of_stock_behavior":"label_option","out_of_stock_message":"Out of stock","available_modifier_values":[],"in_stock_attributes":[],"stock":null,"instock":true,"stock_message":null,"purchasable":true,"purchasing_message":null}};
</script>
<script src='https://code.jquery.com/jquery-3.3.1.min.js' ></script><script src='https://cdn.attn.tv/thesafetysource/dtag.js' ></script><script></script><!-- Hotjar Tracking Code for https://safetysourcellc.com/ -->
<script data-bc-cookie-consent="4" type="text/plain">
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:2210678,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script><script type="quoteninja-results"></script><script data-bc-cookie-consent="3" type="text/plain">!function(){var e=window.location.search;if(e&&e.length>1&&localStorage){var l,o,t=e.slice(1).split("&");for(l=0;l<t.length;l++)o=(e=t[l].split("="))[1],(e=e[0])&&o&&("gclid"===e||"msclkid"===e||0===e.indexOf("utm"))&&localStorage.setItem(e,decodeURIComponent(o))}}();</script><!-- PriceSpider Path Insights -->
<script src="//cdn.pricespider.com/pathinsights/ps-pi-ps.min.js"></script>
<script>
var psSaveCookie = function (value) {
if (typeof window !== "undefined" && window.sessionStorage) {
sessionStorage.setItem('psrid', value);
sessionStorage.setItem('pswtb.psrid', value);
}
}
var search = typeof window !== "undefined" && window.location && window.location.search ? window.location.search : undefined;
if (search && search.length) {
search = search.substr(1);
var params = search.split('&');
for (var i = 0; i < params.length; i++) {
var param = params[i];
var parts = param.split('=');
if (parts && parts.length) {
var key = parts[0];
var value = parts[1];
if (key === 'psrid' || key === 'redirectToken') {
psSaveCookie(value);
}
}
}
}
</script><script type="text/javascript">
var attnData = {
pageType: "product",
orderData: {},
}
try {
if ("") {
fetch("/api/storefront/order/", {
credentials: "include",
})
.then(function (response) {
return response.json();
})
.then(function (orderInfo) {
window.attnData = window.attnData || {
pageType: "product",
orderData: {},
}
window.attnData.orderData = {
cartTotal: orderInfo.orderAmount,
cartId: orderInfo.cartId,
cartCoupon: orderInfo.coupons.length > 0 ? orderInfo.coupons[0].code : null,
orderId: orderInfo.orderId,
phone: orderInfo.billingAddress.phone,
email: orderInfo.billingAddress.email,
items: orderInfo.lineItems.physicalItems.map(item => {
return {
sku: item.productId,
subProductId: item.variantId,
name: item.name,
image: item.imageUrl,
price: item.salePrice,
currency: orderInfo.currency.code,
quantity: item.quantity,
}
}),
}
})
}} catch (e) {}
</script>
<script type="text/javascript">
const attn_upc = "45143592920";
const attn_price = "5.36";
var variant = null;
const attnBCProducts = window.attn_bc_products = window.attn_bc_products || {};
const productsCatalogue = attnBCProducts.products = attnBCProducts.products || [];
const attnProduct = {
sku: '101327',
subProductId: variant,
productId: 'MCR9318D7M',
name: 'MCR Safety 9318D7M 7 Gauge Salt and Pepper Dyneema Sleeve, 18 Inch',
image: 'https://cdn11.bigcommerce.com/s-f27ljev4yq/images/stencil/500x659/products/101327/230401/mcr-9318D7M__75294.1558703058.jpg?c=2',
category: 'Safety Supplies/Hi-Vis And Protective Clothing/Cut Resistant Sleeves,Brands/MCR Safety',
price: attn_price,
currency: 'USD' || 'USD',
};
if (attnData.pageType === 'product' && attnProduct.sku) { try {
fetch('/graphql', {
method: 'POST',
credentials: 'same-origin',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOlsxXSwiY29ycyI6WyJodHRwczovL3NhZmV0eXNvdXJjZWxsYy5jb20iXSwiZWF0IjoxNzMyMDIwODI4LCJpYXQiOjE3MzE4NDgwMjgsImlzcyI6IkJDIiwic2lkIjoxMDAwMjI0NTg0LCJzdWIiOiJCQyIsInN1Yl90eXBlIjowLCJ0b2tlbl90eXBlIjoxfQ.SOS8TfdyHBO0-vfrGTz-UH37URQxldygl9Zzj9yihRnml-6_pcG7wTLBbpBxP1BL91Z5taEq6702nQPov2N2Lw'
},
body: JSON.stringify({ query: '{ site {product(entityId: 101327) { sku, variants{edges{node{upc, entityId, prices{price{value}}}}}}}}'})})
.then(data => data.json())
.then(json => json?.data?.site?.product?.variants?.edges)
.then(variantsArr => {
if (variantsArr.length === 1) {
variant = variantsArr[0]?.node?.entityId;
} else if (attn_upc) {
variant = variantsArr.find(variantObj => variantObj?.node?.upc === attn_upc)?.node.entityId;
} else if (attn_price) {
variant = variantsArr.find(variantObj => variantObj?.node?.prices?.price?.value?.toString() === attn_price)?.node.entityId;
} else {
variant = variantsArr[0]?.node?.entityId;
}
})
.then(() => {
attnProduct.subProductId = variant;
attnBCProducts["current_product"] = attnProduct;
if (productsCatalogue.filter(i => {i.productId === '101327' && i.subProductId === variant}).length === 0) {
productsCatalogue.push(attnProduct);
}
})
} catch {
attnBCProducts["current_product"] = attnProduct;
if (productsCatalogue.filter(i => i.productId === '101327').length === 0) {
productsCatalogue.push(attnProduct);
}
}}
</script><!-- Fast Simon --><script data-bc-cookie-consent="2" type="text/plain" async src="https://bigcommerce.instantsearchplus.com/js/acp-magento.js?v=2&mode=bigcommerce&UUID=520337de-15f2-4769-b9df-90d8eb72c383&store=1"></script><!-- Fast Simon -->
<script data-cfasync="false" src="https://microapps.bigcommerce.com/bodl-events/index.js"></script>
<script data-cfasync="false">
(function() {
function decodeBase64(base64) {
const text = atob(base64);
const length = text.length;
const bytes = new Uint8Array(length);
for (let i = 0; i < length; i++) {
bytes[i] = text.charCodeAt(i);
}
const decoder = new TextDecoder();
return decoder.decode(bytes);
}
window.bodl = JSON.parse(decodeBase64("eyJzZXNzaW9uIjp7ImlkIjoiNTRjMTc4ZGMtM2IzZS00NDQyLWFlNDYtMWZmMjE0YWFhZDlmIiwiZmlyc3RfdG91Y2hfdGltZXN0YW1wIjoiMjAyNC0xMS0xOFQwMDoxNDoxNCIsImZpcnN0X3RvdWNoX3JlZmVycmFsX3VybCI6IiIsImZpcnN0X3RvdWNoX3JlcXVlc3RfdXJsIjoiaHR0cHM6Ly9zYWZldHlzb3VyY2VsbGMuY29tL3NhZmV0eS1zdXBwbGllcy9wcm90ZWN0aXZlLWNsb3RoaW5nL2N1dC1yZXNpc3RhbnQtc2xlZXZlcy9tY3Itc2FmZXR5LTkzMThkN20tNy1nYXVnZS1zYWx0LWFuZC1wZXBwZXItZ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