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 type="text/javascript">
  window.clerkAsyncInit = function() {
      Clerk.config({
          key: 'store_api_key',
          collect_email: true
      });
  };

  (function(){
      var e = document.createElement('script');
      e.type='text/javascript'; e.async = true;
      e.src = document.location.protocol +
      '//api.clerk.io/static/clerk.js';
      var s = document.getElementsByTagName('script')[0];
      s.parentNode.insertBefore(e, s);
  })();      
</script>

Did this answer your question?