Skip to content

Instantly share code, notes, and snippets.

@rieckpil
Created December 30, 2020 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rieckpil/1db609771311b1b64bd8cb7fa184d882 to your computer and use it in GitHub Desktop.
Save rieckpil/1db609771311b1b64bd8cb7fa184d882 to your computer and use it in GitHub Desktop.
Trigger Cart Abandonment when Email is pre-filled on SendOwl's Checkout Page
<script>
Page.checkoutCallback = function () {
var email = document.getElementById("order_buyer_email").value;
if (email) {
$("#order_buyer_email").blur();
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment