Using Clerk.io in Your Store

Tracking Visitor Emails Automatically

Automatically Send email addresses to Clerk.io as soon as visitors type them in on the webshop.

Clerk.js can automatically collect emails in the customer's browsing session to be used for Abandoned Basket emails and other email campaigns.

Simply configure Clerk.js with collect_email: true as shown here:

HTML

<script>
(function(w,d){
var e=d.createElement('script');e.type='text/javascript';e.async=true;
e.src=(d.location.protocol=='https:'?'https':'http')+'://cdn.clerk.io/clerk.js';
var s=d.getElementsByTagName('script')[0];s.parentNode.insertBefore(e,s);
w.__clerk_q=w.__clerk_q||[];w.Clerk=w.Clerk||function(){w.__clerk_q.push(arguments)};
})(window,document);

Clerk('config', {
key: 'insert_public_key',
collect_email: true
});
</script>

 

Did this answer your question?