<!-- 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-198743124873"});
// 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-198743124873"/></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":"LIFESE-13AFB","upc":"879501004516","mpn":"ESE-13AFB","gtin":null,"weight":{"formatted":"4.50 LBS","value":4.5},"base":true,"image":null,"price":{"without_tax":{"formatted":"$6.32","value":6.32,"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":0,"instock":false,"stock_message":"Out of stock","purchasable":true,"purchasing_message":"The selected product combination is currently unavailable."}};
</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 = "879501004516";
const attn_price = "6.32";
var variant = null;
const attnBCProducts = window.attn_bc_products = window.attn_bc_products || {};
const productsCatalogue = attnBCProducts.products = attnBCProducts.products || [];
const attnProduct = {
sku: '134191',
subProductId: variant,
productId: 'LIFESE-13AFB',
name: 'Lift Safety ESE-13AFB Sectorlite Safety Glasses Amber, Anti-Fog, Bulk Packed',
image: 'https://cdn11.bigcommerce.com/s-f27ljev4yq/images/stencil/500x659/products/134191/313634/ESE-13AF_EyeWear-Sectorlite-Amber__54104.1694006164.jpg?c=2',
category: 'Safety Supplies/Safety Eyewear/Safety Glasses,Brands/Lift 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.eyJjaWQiOlsxXSwiY29ycyI6WyJodHRwczovL3NhZmV0eXNvdXJjZWxsYy5jb20iXSwiZWF0IjoxNzMxOTM0NDI0LCJpYXQiOjE3MzE3NjE2MjQsImlzcyI6IkJDIiwic2lkIjoxMDAwMjI0NTg0LCJzdWIiOiJCQyIsInN1Yl90eXBlIjowLCJ0b2tlbl90eXBlIjoxfQ.ef9Fv9xa-8pqM4CaJx1jYXvfy7VBT0v4t_eMcLG-KCWu8ZIgS7W3L3iFxNfsgqpOSa599VbWGuJsRzje1eTPzw'
},
body: JSON.stringify({ query: '{ site {product(entityId: 134191) { 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 === '134191' && i.subProductId === variant}).length === 0) {
productsCatalogue.push(attnProduct);
}
})
} catch {
attnBCProducts["current_product"] = attnProduct;
if (productsCatalogue.filter(i => i.productId === '134191').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("eyJzZXNzaW9uIjp7ImlkIjoiYWE1MTA1NjUtMGUyMS00OThiLTlhMGQtNzI4NWZkMjAwNWZhIiwiZmlyc3RfdG91Y2hfdGltZXN0YW1wIjoiMjAyNC0xMS0xNlQxMzoyNDoyNCIsImZpcnN0X3RvdWNoX3JlZmVycmFsX3VybCI6IiIsImZpcnN0X3RvdWNoX3JlcXVlc3RfdXJsIjoiaHR0cHM6Ly9zYWZldHlzb3VyY2VsbGMuY29tL3NhZmV0eS1zdXBwbGllcy9oZWFkLWZhY2UtcHJvdGVjdGlvbi9zYWZldHktaGVhZGdlYXIvcHlyYW1leC1zYWZldHkteHI3MTBzdG0tcm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