Convertflow

Converflow Email/Phone Listener Setup

1. Click on the Convertflow link at the top of your screen to go to your dashboard

Step 1 screenshot

2. Click on your website

Step 2 screenshot

3. Click on Settings

Step 3 screenshot

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>

Step 4 screenshot

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>

Step 5 screenshot

6. Click on Save

Note: There are no concerns with duplicate tracking. Convertflow will prevent this.

Step 6 screenshot