Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Fire this event when an error occurs during payment and the transaction is not successful.
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'payment_error',
- 'payment_method': 'card', //Variable value
- 'error_type': 'card expired' //Variable value
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment