.

Mobile

 

Tablet

 

Menu

Login

 

 


 

 

 

Kitchen

 

 
 
 
// var url = window.location.href; // console.log({url}); // if(url.includes("awc")) { // var awc = url.split("awc=")[1]; // console.log({awc}); // setCookie("awc", awc); // } // Function to get a specific cookie by name // Function to send the webhook request with the "awc" cookie const webhookUrl = 'https://n8n.shopblocks.com/webhook/awin-server-to-server-cookie'; // Replace with your existing webhook URL method: 'POST', // Adjust the method to match your webhook's requirements (POST, GET, etc.) 'Cookie': `awc=${cookieValue}` // Append the "awc" cookie to the request headers // Trigger the function