PageSourceSearch

https://www.gonitro.com/hubfs/hub_generated/template_assets/1/1876…/1790776453389/template_formLogic.min.js

js gonitro.com collected 2026-10-01 08:55:33 UTC 1,541 bytes, 2 lines download raw bytes

1window.addEventListener("message",function(event){if("hsFormCallback"===event.data.type){if("onFormSubmitted"===event.data.eventName){try{sendWebsiteFormSubmittedEvent()}catch(error){console.warn("Website form analytics event failed to send.",error)}const submissionValues=event?.data?.data?.submissionValues;if(submissionValues){const numberOfEmployeesValue=parseInt(submissionValues.numberofemployees,10),noReqLicensesValue=parseInt(submissionValues.no_req_licenses__c,10),popUp1=submissionValues.hasOwnProperty("pop_up_1"),popUp2=submissionValues.hasOwnProperty("pop_up_2");isNaN(numberOfEmployeesValue)||isNaN(noReqLicensesValue)||!popUp1&&!popUp2||validateFields(numberOfEmployeesValue,noReqLicensesValue,popUp1,popUp2)}}}});let modalWasShownAlready=!1;function validateFields(numberOfEmployeesValue,noReqLicensesValue,popUp1,popUp2){if(noReqLicensesValue<5&&!modalWasShownAlready){const modalMessage=popUp2?"popUp2":"popUp1";document.dispatchEvent(new CustomEvent("formmodal:trigger",{detail:{modalMessage:modalMessage}})),modalWasShownAlready=!0}}function sendWebsiteFormSubmittedEvent(){const eventContext=document.body?.dataset.analyticsContext;if(eventContext&&"function"==typeof window.NitroAnalytics?.sendEvent)return window.NitroAnalytics.sendEvent({eventName:"WebsiteFormSubmitted",eventContext:eventContext,eventState:2,url:window.location.href,GA_id:"G-1GWYE8ZM4X"})}
2//# sourceURL=https://45424130.fs1.hubspotusercontent-na1.net/hubfs/45424130/hub_generated/template_assets/1/187669355038/1790776453389/template_formLogic.js

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.