(() => { window.addEventListener('message', m => { if (m.origin === "https://embed.tapkat.org" && m.data.type === "tapkat:donation") { window?.fbq('track', 'Purchase', { value: m.data.value, currency: m.data.currency, content_ids: [m.data.donationLevelId], }); } }, false); })()