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. In the second (Subscribe pixels) and the third (Click pixels) boxes, insert the following lines of code:

<script type="text/javascript">
metrilo.event('subscribed_with_sumome');
metrilo.identify('{sumome-subscriber-email}', {email: '{sumome-subscriber-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');
metrilo.identify('{sumome-subscriber-email}', {email: '{sumome-subscriber-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 second (Subscribe pixels) and third (Click Pixels) boxes in the “Tracking pixels” of your Sumo:

<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?