You can use Alia's Javascript SDK to send contact info from users who sign up to Zapier.
Step 1: Add JS snippet to your site
Add the following script to all pages that have Alia embedded:
<script>
document.addEventListener("alia:signup", (e) => {
fetch("https://hooks.zapier.com/hooks/catch/YOUR-ZAPIER-ID/", {
method: "POST",
mode: "no-cors",
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
body: new URLSearchParams({
email: e.detail.email || "",
phone: e.detail.phone || ""
})
});
});
</script>
Step 2: Create a Zap
Go to Zapier Webhooks.
Choose Trigger:
App: Webhooks by Zapier
Event: Catch Hook
Zapier will give you a Webhook URL β copy it and paste into the script above.
Test it by submitting an Alia popup on your site.
