How to Set Up Convertflow Email and Phone Listener Setup
Learn how to set Up Convertflow email and phone listener set up.
Overview
Follow this guide to learn how to set up Convertflow email and phone listener setup.
How to Set Up Convertflow Email and Phone Listener Setup
Click on the Convertflow link at the top of your screen to go to your dashboard
2. Click on your website
3. Click on Settings
4. Paste the below snippet into the "Custom Code For Landing Pages"
<script>
window.addEventListener("cfSubmit", function(event) {
if (window.convertflow?.person?.email) {
window.ElevarDataLayer.push({
event: "dl_subscribe",
lead_type: "email",
user_properties: {
customer_email: convertflow.person.email
}
});
}
if (window.convertflow?.person?.phone) {
window.ElevarDataLayer.push({
event: "dl_subscribe",
lead_type: "phone",
user_properties: {
customer_phone: convertflow.person.phone
}
});
}
});
</script>
5. Paste the below snippet into the "Custom Code For Popups & Embeds"
<script>
window.addEventListener("cfSubmit", function(event) {
if (window.convertflow?.person?.email) {
window.ElevarDataLayer.push({
event: "dl_subscribe",
lead_type: "email",
user_properties: {
customer_email: convertflow.person.email
}
});
}
if (window.convertflow?.person?.phone) {
window.ElevarDataLayer.push({
event: "dl_subscribe",
lead_type: "phone",
user_properties: {
customer_phone: convertflow.person.phone
}
});
}
});
</script>
6. Click on Save
Note: There are no concerns with duplicate tracking. Convertflow will prevent this.
DOne!
Updated about 2 hours ago