Steps to Push Email Submit Events To Elevar from Convertflow

Google Elevar

Created Mar 28, 2024

Steps to Push Email Submit Events To Elevar from Convertflow

34

#

Converflow Email/Phone Listener Setup

6 Steps
1

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

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

Click on your website

Click on your website
3

Click on Settings

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>

Paste the below snippet into the "Custom Code For Landing Pages"
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>

Paste the below snippet into the "Custom Code For Popups & Embeds"
6

Click on Save

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

Click on Save
Well done!
Create how-to guides like this in a snap. Get Tango now.