PageSourceSearch

https://razorpay.com/build/razor-analytics-plugins/razorAnalyticsPlugins-1.min.js

js razorpay.com collected 2026-09-24 08:24:40 UTC 2,129 bytes, 1 lines download raw bytes

1(function(){"use strict";const u=n=>(...a)=>{var e,o;return(o=(e=window==null?void 0:window.analytics)==null?void 0:e.ready)==null?void 0:o.call(e,()=>n(...a))},d=(n,a="")=>Object.keys(n).reduce((e,o)=>{const t=n[o],c=a?`${a}_${o}`:o;return t&&Object.prototype.toString.call(t)==="[object Object]"?Object.assign(e,d(t,c)):e[c]=t,e},{});function l(){function n(t){const{context:c,properties:i}=t,r=i.eventName,s=d({...c,...i});window.analytics.track(r,s)}function a(){window.analytics.reset()}function e(t="",c={}){window.analytics.identify(t,c)}function o(t){window.analytics.debug(t)}return{track:u(n),removeIdentity:u(a),setIdentity:u(e),debug:u(o)}}const p={production:{appName:"onboarding-new-events",key:"ezGnY9wN3IjNwgDM3MDMygzNwMTO04yy",url:"https://lumberjack.razorpay.com/v1/track"},staging:{appName:"onboarding-new-events",key:"10pYUm55sa39zgTN1gzNwQzNyQjM54Cg",url:"https://lumberjack.stage.razorpay.in/v1/track"}},w={email:!0,mobile:!0,phone:!0,name:!0},y=n=>{if(!n||typeof n!="object")return{};const a={};for(const e in n)if(Object.hasOwn(n,e)){const o=n[e],t=e.toLowerCase();if(w[t])continue;o&&typeof o=="object"?a[e]=y(o):a[e]=o}return a};function g(n={}){let a;function e(){const t=n.environment==="production"?"production":"staging",{transportConfig:c=p[t]}=n;a=m(c)}function o(t={}){const{context:c={},properties:i={}}=t,r={properties:i,context:{...c,identity:y(c.identity)}};a.sendEvent(r)}return{init:e,track:o}}function m({appName:n,key:a,url:e}){async function o({context:t={},properties:c={}}){const i={mode:"live",key:a,context:t,events:[{event_type:n,event:c.eventName,event_version:"v1",timestamp:Date.now(),properties:c}]},r=()=>fetch(e||"",{method:"post",body:JSON.stringify(i),headers:{"Content-Type":"application/json"},keepalive:!0});if(navigator.sendBeacon)try{const s=JSON.stringify(i),f=new TextEncoder().encode(s),b=window.btoa(String.fromCharCode.apply(null,f)),v=new Blob([`key=${a||""}&data=${b}`],{type:"application/x-www-form-urlencoded"});navigator.sendBeacon(e||"",v)}catch(s){console.error(s),r()}else r()}return{sendEvent:o}}window.razorAnalyticsPlugins={segment:l,lumberjack:g}})();

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.