Metrilo Homepage Ecommerce Blog

How to send email subscribers to Metrilo and include them in Automation campaigns

Metrilo Help Integration How to send email subscribers to Metrilo and include them in Automation campaigns

In order to send email subscribers to Metrilo, you need to have our JavaScript tracking library loaded on your website. If you’ve already connected your eCommerce store to Metrilo, it’s probably loaded up. Just in case check the page’s source and make sure Metrilo is in there.

To send an email to your Metrilo’s customer and subscriber list, simply do the following with JavaScript:

metrilo.identify('[email protected]', {name: 'Subscriber Name', email: '[email protected]', first_name: 'Subscriber', last_name: 'Subscriber'});
metrilo.event('became_subscriber_on_this_page');

The name, first_name and last_name parameters are optional. You can use those for personalization later on in your automation campaigns or your email campaigns.

You can also change the became_subscriber_on_this_page event to whatever describes the action the subscriber did. You can use this later to get all people who did this event (eg. subscribed on a specific landing page or from specific subscriber fox) or setup automated drip campaigns based on the context of the subscriber.

 

Related articles

Getting startedIntegrationLearn MetriloUniversity