1'use strict'; 2 3var gtCurPage = window.User.clickStream; 4 5switch (gtCurPage) { 6 case 'cosummary-submit': 7 case 'coplaceorder-submit': 8 case 'afterpayredirect-placeorder': 9 case 'cosummary-showconfirmation': 10 /*Following condition is intentionally for Apple Pay as eeCheckoutOption SRS-2327*/ 11 if (gtCurPage == 'cosummary-showconfirmation' && orderConfirmation.paymentMethod === "ApplePay") { 12 pushDtLayer({ 13 event: 'eeCheckoutOption', 14 checkoutStep: '4', 15 checkoutOption: orderConfirmation.paymentMethod, 16 emailHashTwo: emailID_SHA1, 17 }); 18 } 19 20 if (gtCurPage == 'afterpayredirect-placeorder') { 21 pushDtLayer({ 22 event: 'eeCheckoutOption', 23 checkoutStep: '4', 24 checkoutName: 'Checkout - Step Payment', 25 checkoutOption: 'After Pay', 26 checkoutErrorMessage: '', 27 emailHashTwo: emailID_SHA1, 28 }); 29 } 30 break; 31 default: 32 break; 33}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.