Check Out My Latest Projects

I'm here to help if you're searching for a product designer to bring your idea to life or a design partner to help take your business to the next level.

Check Out My Latest Projects

I'm here to help if you're searching for a product designer to bring your idea to life or a design partner to help take your business to the next level.

Palacepals

Website Revamp

Palacepals

Digital Marketing | Website Revamp

Prestige Legal

Website Design | Website Revamp

banner-shape-1
banner-shape-2
banner-shape-3
banner-shape-4
document.addEventListener("DOMContentLoaded", function () { document.body.addEventListener("click", function (event) { if (event.target.matches(".mcw-add-wishlist, .mcw-add-wishlist *") || event.target.matches(".mcw-wishlist-icon, .mcw-wishlist-icon *")) { setTimeout(function () { triggerSmartpushCampaign(); }, 3000); // Delay to ensure the item is added } }); function triggerSmartpushCampaign() { let subscriberUUID = localStorage.getItem("smartpush_uuid"); // Fetch subscriber ID if stored if (!subscriberUUID) return; // Exit if no subscriber ID fetch("https://app.smartpush.ai/api/v1/campaigns/cc7c5440-a41c-4f9e-96ff-0f692395c4c2/send", { method: "POST", headers: { "Content-Type": "application/json", "Authorization": "19e24314-6e5e-4bde-a5db-e60c9dda9800" // Replace with your actual secret key }, body: JSON.stringify({ app_uuid: "3a1b96b2-070a-4690-86b2-310889d316c4", // Replace with your actual App UUID subscribers: [subscriberUUID] // Send only to the current subscriber }) }) .then(response => response.json()) .then(data => console.log("Wishlist push notification sent:", data)) .catch(error => console.error("Error sending push:", error)); } });