FROM CACHE - en_header

Error in Customizer Dawn theme

New Member
1 0 0

Hi Shopify Community,

I am facing an issue with the customizer and don't know how to fix it.

(function(){if ("sendBeacon" in navigator && "performance" in window) {var session_token = document.cookie.match(/_shopify_s=([^;]*)/);function handle_abandonment_event(e) {var entries = performance.getEntries().filter(function(entry) {return /;});if (!window.abandonment_tracked && entries.length === 0) {window.abandonment_tracked = true;var currentMs =;var navigation_start = performance.timing.navigationStart;var payload = {shop_id: 58003685528,url: window.location.href,navigation_start,duration: currentMs - navigation_start,session_token: session_token && session_token.length === 2 ? session_token[1] : "",page_type: "index"};window.navigator.sendBeacon("", JSON.stringify({schema_id: "online_store_buyer_site_abandonment/1.1",payload: payload,metadata: {event_created_at_ms: currentMs,event_sent_at_ms: currentMs}}));}}window.addEventListener('pagehide', handle_abandonment_event);}}());

I reached all potential app developers which could affect the error. 

I very much appreciate any help or just pointing us in the right direction. 

 I attached a screenshot that shows the error.

Replies 0 (0)