analytics.subscribe("checkout_completed", (event) => { console.log('ShoppingGives Tracking') var checkout = event.data.checkout const script = document.createElement('script'); script.setAttribute('src', "https://tracking.api.shoppinggives.com/track-sale-pixel?store-id=2551906c-0939-4436-bca0-96308151cad7&order-id="+checkout?.order?.id); script.setAttribute('async', ''); document.head.appendChild(script); const script1 = document.createElement('script'); script1.setAttribute('src', "https://cdn.shoppinggives.com/cc-utilities/shopify.js?store-id=2551906c-0939-4436-bca0-96308151cad7&shop=onefc-worldwide.myshopify.com"); script1.setAttribute('async', ''); document.head.appendChild(script1); }); });})(self.webPixelsManager.createShopifyExtend('33194049', 'custom'));