Note: Metrilo customers get 20% off Privy for 3 months - reach out to our Customer Success team to claim your discount
Integrating your Privy pop-ups with Metrilo takes less than a minute:
As you're logged into your Privy account, go to Business Settings
Click "Customizations"
3. Enter the following JavaScript code into the "Conversion Pixels" field as shown
JavaScript code to put into "Conversion Pixels":
<script type="text/javascript">
if (typeof metrilo !== 'undefined') {
if (typeof metriloShopify !== 'undefined') {
metrilo.identify('{{ contact.email }}');
metrilo.customer('{{ contact.email }}', { first_name: "{{ contact.first_name }}", last_name: "{{ contact.last_name }}", tags: ['Privy subscriber']});
metrilo.customEvent('subscribe');
} else {
metrilo.identify('{{ contact.email }}', { first_name: "{{ contact.first_name }}", last_name: "{{ contact.last_name }}", name: "{{ contact.first_name }} {{ contact.last_name }}", email: "{{ contact.email }}", tags: ['Privy subscriber']});
metrilo.event('subscribe');
}
}
</script>
(yes, you can just copy and paste it)
Click "Save Changes" and start collecting emails with Privy into Metrilo!