All Collections
Integrations
Integrating Sumo with Metrilo
Integrating Sumo with Metrilo
Alex Dramkin avatar
Written by Alex Dramkin
Updated over a week ago

How to integrate Metrilo with Sumo for WooCommerce and Magento

For integrating Metrilo to SUMO, you will have to open your SUMO app visit Forms => List builder => Success, for the form which you want to integrate.

Step 1

То send to Metrilo the event of someone subscribing via the Sumo pop-up, add the following script in the first box in the “Tracking pixels” of your Sumo:

<script type="text/javascript">
metrilo.event('popup_shown');
</script>

You can simply copy-paste the code above. The only thing you can change is the name of the event which is popup_shown in the example. When you name the event, you will be able to filter all your subscribers with a simple filter in Metrilo using that event name.

Step 2

Make sure you send the email of the new subscriber to Metrilo. Insert the following lines of code in the Subscribe Pixels box:

<script type="text/javascript">
metrilo.event('subscribed_with_sumome');
var email = '{sumome-subscriber-email}';
metrilo.identify(email, {email: email});
</script>

Note: you don’t need to change anything here, simply copy-paste it in the correct field.

Optional: In case your form includes first name and last name fields, use the following code to send your prospect's name to Metrilo as well:

<script type="text/javascript">
metrilo.event('subscribed_with_sumome');
var email = '{sumome-subscriber-email}';
metrilo.identify(email, {email: email}, first_name: '{sumome-subscriber-first}', last_name: '{sumome-subscriber-last}', name: '{sumome-subscriber-name}'});
</script>

How to integrate Metrilo with Sumo for Shopify and Custom web-stores

For integrating Metrilo to SUMO, you will have to open your SUMO app visit Forms => List builder => Success, for the form which you want to integrate.

Step 1

То send to Metrilo the event of someone subscribing via the Sumo pop-up, add the following script in the Subscribe pixels boxe in the “Tracking pixels” of your Sumo form:

<script type="text/javascript">
  window.metrilo.customEvent('subscribed');
  window.metrilo.identify('{sumome-subscriber-email}');
  window.metrilo.customer('{sumome-subscriber-email}', {first_name: '{sumome-subscriber-first}', last_name: '{sumome-subscriber-last}'}); (optional)
</script>

Did this answer your question?