1function pushDatalayer(e, a, t, n, r) { 2 ("Expand" == t || "Collapse" == t) && 3 ((t = "true" == $(r)[0].ariaExpanded ? "Collapse" : "Expand"), (r = "NA")); 4 var c = (window.dataLayer = window.dataLayer || []); 5 "NA" == r 6 ? c.push({ 7 event: e, 8 eventCategory: a, 9 eventAction: t, 10 eventLabel: n, 11 "User ID": "NA", 12 }) 13 : c.push({ 14 event: e, 15 eventCategory: a, 16 eventAction: t, 17 eventLabel: n, 18 "Banner Name": r, 19 "User ID": "NA", 20 }); 21} 22function pushDatalayerBook_RSA(e, a, t, n, r) { 23 (window.dataLayer = window.dataLayer || []).push({ 24 event: e, 25 eventCategory: a, 26 eventAction: t, 27 eventLabel: n, 28 "User ID": "NA", 29 CTA_Position: r, 30 }); 31} 32function pushDatalayer_Service(e, a, t, n, r) { 33 ("Expand" == t || "Collapse" == t) && 34 ((t = "true" == $(r)[0].ariaExpanded ? "Collapse" : "Expand"), (r = "NA")); 35 var c = (window.dataLayer = window.dataLayer || []); 36 "NA" == r 37 ? c.push({ 38 event: e, 39 eventCategory: a, 40 eventAction: t, 41 eventLabel: n, 42 "User ID": "NA", 43 }) 44 : c.push({ 45 event: e, 46 eventCategory: a, 47 eventAction: t, 48 eventLabel: n, 49 "Banner Name": r, 50 "User ID": "NA", 51 }); 52} 53$(".btn-discover-service-page").click(function () { 54 var e = $(this).parent().parent().find("#discoverheadertext").text(); 55 pushDatalayer_Service( 56 "Discover_Our_Services", 57 "Discover Our Services", 58 "Service Category", 59 $(this).text(), 60 e 61 ); 62}), 63 $(".user-manual-download").click(function () { 64 pushDatalayer_Service( 65 "User_Manual", 66 "User Manual", 67 "Download Manual", 68 $(this).text(), 69 "NA" 70 ); 71 }), 72 $(".scanner-banner-contact-service-page").click(function () { 73 pushDatalayer_Service( 74 "Service_Contact", 75 "Service Contact", 76 $(this).text(), 77 "NA", 78 "NA" 79 ); 80 }), 81 $(".scanner-banner-amc-page").click(function () { 82 pushDatalayer_Service( 83 "AMC_Connect_with_us", 84 "AMC Connect with us", 85 "Phone", 86 "NA", 87 "NA" 88 ); 89 }), 90 $(".scanner-contact-rsa-page").click(function () { 91 pushDatalayer_Service("Contact_RSA", "Contact RSA", "Phone", "NA", "NA"); 92 }), 93 $(".scanner-book-rsa-page").click(function () { 94 var e = $(this).text(), 95 a = $(this).parent().parent().find(".section-title").text(); 96 pushDatalayerBook_RSA("Book_RSA", "Book RSA", e, "NA", a); 97 }), 98 $(".usermanual-contnet a").click(function () { 99 pushDatalayer_Service( 100 "User_Manual", 101 "User Manual", 102 "Know More CTA", 103 $(this).text(), 104 "NA" 105 ); 106 }), 107 $("#accordionMenu4 .panel-title a").each(function () { 108 $(this).on("click", function () { 109 pushDatalayer_Service( 110 "RSA_FAQ_Interactions", 111 "RSA FAQ Intwractions", 112 "Expand", 113 $(this).text(), 114 $(this) 115 ); 116 }); 117 }), 118 $("#accordionMenu3 .panel-title a").each(function () { 119 $(this).on("click", function () { 120 pushDatalayer_Service( 121 "AMC_FAQ_Interactions", 122 "AMC FAQ Interactions", 123 "Expand", 124 $(this).text(), 125 $(this) 126 ); 127 }); 128 }); 129if (window.location.href.includes('/bs-vi-payment-summary/failure-page')) { 130 $('#hidDatalayerBrandName').val('Apache RR 310'); 131}; 132$("a[href*='book-online']").on("click", function () { 133 const linkText = $(this).text().trim(); 134 135 if ( 136 linkText === "TRY AGAIN" && 137 !$(this).closest(".staticIcons").length && 138 !$(this).closest(".brand-nav").length 139 ) { 140 (window.dataLayer = window.dataLayer || []).push({ 141 event: "Know_More_Click", 142 eventCategory: "Know More Click", 143 eventAction: "Try Again", 144 eventLabel: "BTO Failure", 145 BrandName: "Apache RR 310", 146 VariantName: "NA", 147 }); 148 } 149}); 150 151
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.