PageSourceSearch

https://www.surveyjunkie.com/dist/common/js/measure.js?v=2.910.0

js surveyjunkie.com collected 2026-09-24 08:58:15 UTC 14,767 bytes, 1 lines download raw bytes

1!function(){"use strict";const e={sjAnalytics_a:"sjAnalytics_a",sjAnalytics_s1:"sjAnalytics_s1",sjAnalytics_s2:"sjAnalytics_s2",sjAnalytics_s3:"sjAnalytics_s3",sjAnalytics_s4:"sjAnalytics_s4",sjAnalytics_s5:"sjAnalytics_s5",sjAnalytics_c:"sjAnalytics_c",sjAnalytics_rid:"sjAnalytics_rid",sjAnalytics_isLoginWithGoogle:"sjAnalytics_isLoginWithGoogle",sjAnalytics_isLoginWithFacebook:"sjAnalytics_isLoginWithFacebook",sjAnalytics_isLoginWithEmail:"sjAnalytics_isLoginWithEmail",sjAnalytics_isLoginWithAutoEmail:"sjAnalytics_isLoginWithAutoEmail",sjAnalytics_isSignupWithGoogle:"sjAnalytics_isSignupWithGoogle",sjAnalytics_isSignupWithFacebook:"sjAnalytics_isSignupWithFacebook",sjAnalytics_isSignupWithEmail:"sjAnalytics_isSignupWithEmail"},i="true",s={survey:"survey",questionnaire:"questionnaire",pulse:"pulse",referral:"referral"},t={survey_featured:"survey_featured",survey_list:"survey_list",survey_medley:"survey_medley",survey_sort:"survey_sort",pulse_desktop:"pulse_desktop",pulse_extension:"pulse_extension",paypal:"paypal",bank_transfer:"bank_transfer",gift_card:"gift_card",visa_card:"visa_card",general_profile:"general_profile",basic_profile:"basic_profile",referral_tile:"referral_tile",copy_link:"copy_link",email:"email",fb_messenger:"fb_messenger",whatsapp:"whatsapp",mobile_share:"mobile_share",survey_time_filter:"survey_time_filter"},n={a:"a",aclid:"aclid",activities:"activities",activity_displayed_session_id:"activity_displayed_session_id",sj_session_id:"sj_session_id",anid:"anid",app_region:"app_region",application_platform:"application_platform",item_brand:"item_brand",c:"c",campaign:"campaign",campaign_info_source:"campaign_info_source",click_id:"click_id",click_location:"click_location",click_target:"click_target",click_text:"click_text",click_timestamp:"click_timestamp",click_url:"click_url",content:"content",cp1:"cp1",currency:"currency",current_question:"current_question",current_step:"current_step",debug_mode:"debug_mode",deferred_analytics_collection:"deferred_analytics_collection",device_form_factor:"device_form_factor",engagement_time_msec:"engagement_time_msec",event_type:"event_type",ga_session_id:"ga_session_id",ga_session_number:"ga_session_number",gclid:"gclid",id:"id",ignore_referrer:"ignore_referrer",index:"index",is_first:"is_first",item_category:"item_category",item_category2:"item_category2",item_category3:"item_category3",item_category4:"item_category4",item_category5:"item_category5",item_id:"item_id",item_list_id:"item_list_id",item_list_name:"item_list_name",item_name:"item_name",items:"items",layout:"layout",login_method:"login_method",loi:"loi",medium:"medium",milestone:"milestone",page_location:"page_location",page_referrer:"page_referrer",page_title:"page_title",page_view_id:"page_view_id",points:"points",position:"position",previous_first_open_count:"previous_first_open_count",previous_gmp_app_id:"previous_gmp_app_id",price:"price",provider_id:"provider_id",quantity:"quantity",reset_analytics_cause:"reset_analytics_cause",response_code:"response_code",response_message:"response_message",rid:"rid",s1:"s1",s2:"s2",s3:"s3",s4:"s4",s5:"s5",sj_click_uuid:"sj_click_uuid",source:"source",style:"style",send_page_view:"send_page_view",step_name:"step_name",step_event:"step_event",sub_type:"sub_type",system_app:"system_app",system_app_update:"system_app_update",term:"term",total_questions:"total_questions",total_steps:"total_steps",type:"type",updated_with_analytics:"updated_with_analytics",user_current_points:"user_current_points",user_id:"user_id",user_pulse:"user_pulse",user_redeemer:"user_redeemer",user_signup_affiliate_id:"user_signup_affiliate_id",user_status:"user_status",user_total_points:"user_total_points",user_total_redemptions:"user_total_redemptions",item_variant:"item_variant",verification_method:"verification_method"},a={achievement:"achievement",click:"click",disable:"disable",enable:"enable",end:"end",firebase_campaign:"firebase_campaign",first_open:"first_open",first_visit:"first_visit",gross_revenue:"gross_revenue",install:"install",login:"login",logout:"logout",net_revenue:"net_revenue",page_view:"page_view",redemption:"redemption",screen_view:"screen_view",session_start:"session_start",signup:"signup",start:"start",activity_view:"activity_view",activity_view_list:"activity_view_list",uninstall:"uninstall",user_engagement:"user_engagement",user_properties:"user_properties",view_item:"view_item",view_item_list:"view_item_list",view_search_results:"view_search_results"},o={success:200,error:400},r={success:"success",error:"failure"},_="auto-email";window.ANALYTICS_REFERRAL_TYPES={widget:"widget",modal:"modal",page:"page"};var c=e=>(Object.keys(e).forEach((i=>{""!==e[i]&&void 0!==e[i]||delete e[i]})),e),l=function(e){"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});const i=e+"=",s=document.cookie.split(";");for(let e=0;e<s.length;e++){const t=s[e].trim();if(0===t.indexOf(i))return t.substring(i.length,t.length)}return""};window.ANALYTICS_EVENT_ATTRIBUTES=n,window.ANALYTICS_EVENT_NAMES=a,window.ANALYTICS_EVENT_TYPE=s,window.ANALYTICS_EVENT_SUB_TYPE=t,window.ANALYTICS_COOKIE_NAMES=e,window.ANALYTICS_IS_FIRST={zero:0,one:1},window.ANALYTICS_RESPONSE_CODES=o,window.ANALYTICS_RESPONSE_MESSAGE=r;const p=!!l("__sjAnalyticsDebug");function u(){window.sjAnalyticsDataLayer.push(arguments)}window.sjAnalyticsDataLayer=window.sjAnalyticsDataLayer||[],window.sjMarketingDataLayer=window.sjMarketingDataLayer||[],window.analyticsTrack=e=>{Array.isArray(e)||(e=[e]),e.forEach((e=>{const i=e.attributes||{};u("event",e.event,{send_to:window.sjAnalyticsConfig,event_callback:()=>{p&&console.log("ga4",e)},...i}),window.sjMarketingDataLayer.push({event:e.event,...i}),window.sjMarketingDataLayer.push((function(){window.google_tag_manager["GTM-MWQH6G4"].dataLayer.reset()}))}))};var d=()=>{let e,i,s;e="G-G1VKP74PGX",i="F07T5aXsA1jh6jKD4TEwRQ",s="env-2",u("js",new Date);let t=document.createElement("script");t.setAttribute("src","https://www.googletagmanager.com/gtag/js?i
1d=G-G1VKP74PGX&l=sjAnalyticsDataLayer"),document.body.appendChild(t),function(e,i,s,t,n){e[t]=e[t]||[],e[t].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var a=i.getElementsByTagName(s)[0],o=i.createElement(s);o.async=!0,o.src="https://www.googletagmanager.com/gtm.js?id=GTM-MWQH6G4&l=sjMarketingDataLayer&gtm_auth=F07T5aXsA1jh6jKD4TEwRQ&gtm_preview=env-2&gtm_cookies_win=x",a.parentNode.insertBefore(o,a)}(window,document,"script","sjMarketingDataLayer");const o=window.INIT_USER_DATA,r=(()=>{let e=l("sj_mobile_app")||window.localStorage.getItem("sj_mobile_app")||"";return e="ios"===e?"mobile_app_ios":"android"===e?"mobile_app_android":"website",e})(),_=(()=>{if(window.WURFL&&window.WURFL.form_factor)return window.WURFL.form_factor;if(l("device"))try{const e=JSON.parse(l("device"));if(e.form_factor)return e.form_factor}catch(e){}return""})(),d=document.querySelector("#track-user-id");let y,g,m="";void 0!==window.sjSessionId&&""!==window.sjSessionId&&(m=window.sjSessionId),o&&o.id?(y=c({[n.send_page_view]:!1,[n.user_id]:o.id,[n.app_region]:"us",[n.application_platform]:r,[n.user_status]:o.status,[n.device_form_factor]:_,[n.sj_session_id]:m}),g=c({[n.user_id]:o.id,[n.app_region]:"us",[n.application_platform]:r,[n.user_status]:o.status,[n.device_form_factor]:_,[n.user_current_points]:o.current_points,[n.user_signup_affiliate_id]:o.affiliate,[n.user_total_points]:o.lifetime_points,[n.user_redeemer]:o.lifetime_points>o.current_points})):d&&d.content?(y=c({[n.send_page_view]:!1,[n.user_id]:d.content,[n.app_region]:"us",[n.application_platform]:r,[n.device_form_factor]:_,[n.sj_session_id]:m}),g=c({[n.user_id]:d.content,[n.app_region]:"us",[n.application_platform]:r,[n.device_form_factor]:_})):(y=c({[n.send_page_view]:!1,[n.app_region]:"us",[n.application_platform]:r,[n.device_form_factor]:_}),g=c({[n.app_region]:"us",[n.application_platform]:r,[n.device_form_factor]:_})),p&&(y[n.debug_mode]=p),u("config",e,y),window.sjMarketingDataLayer.push((function(){this.set("config",y)})),u("set",a.user_properties,g),window.sjMarketingDataLayer.push((function(){this.set(a.user_properties,g)})),window.sjAnalyticsConfig=e},y=function(e,i,s){const t=new Date;t.setTime(t.getTime()+60*s*1e3);const n="expires="+t.toGMTString();document.cookie=e+"="+i+"; "+n+"; domain=surveyjunkie.com; path=/"};const g=()=>{const s=l(e.sjAnalytics_isLoginWithAutoEmail)===i,t=l(e.sjAnalytics_isLoginWithGoogle)===i,n=l(e.sjAnalytics_isLoginWithFacebook)===i,a=l(e.sjAnalytics_isSignupWithGoogle)===i,o=l(e.sjAnalytics_isSignupWithFacebook)===i;let r="email";return t||a?r="google":n||o?r="facebook":s&&(r=_),r},m=()=>({[ANALYTICS_EVENT_ATTRIBUTES.a]:l(e.sjAnalytics_a),[ANALYTICS_EVENT_ATTRIBUTES.s1]:l(e.sjAnalytics_s1),[ANALYTICS_EVENT_ATTRIBUTES.s2]:l(e.sjAnalytics_s2),[ANALYTICS_EVENT_ATTRIBUTES.s3]:l(e.sjAnalytics_s3),[ANALYTICS_EVENT_ATTRIBUTES.s4]:l(e.sjAnalytics_s4),[ANALYTICS_EVENT_ATTRIBUTES.s5]:l(e.sjAnalytics_s5),[ANALYTICS_EVENT_ATTRIBUTES.c]:l(e.sjAnalytics_c),[ANALYTICS_EVENT_ATTRIBUTES.rid]:l(e.sjAnalytics_rid)}),w=e=>{const i=e.innerText;return A(i)||r.error},A=e=>e.replace(/[^a-zA-Z0-9 ]/g,"").trim(),f=(e,i)=>{const s=[],t=g(),o=m(),r=c({...o,[n.response_code]:e,[n.response_message]:i,[n.type]:t});s.push({event:a.login,attributes:r}),window.analyticsTrack(s)},v=()=>{const e=document.querySelector(".login-popup .popup-alert.popup-error");if(!e)return;const i=w(e);f(o.error,i)},j=()=>{f(o.success,r.success)},h=()=>{y(e.sjAnalytics_isLoginWithGoogle,i,0),y(e.sjAnalytics_isLoginWithFacebook,i,0)};const S=function(e){return e?{code:window.ANALYTICS_RESPONSE_CODES.error,message:window.ANALYTICS_RESPONSE_MESSAGE.error}:{code:window.ANALYTICS_RESPONSE_CODES.success,message:window.ANALYTICS_RESPONSE_MESSAGE.success}};const T={facebook:e.sjAnalytics_isSignupWithFacebook,google:e.sjAnalytics_isSignupWithGoogle,email:e.sjAnalytics_isSignupWithEmail},E=(e,i)=>{const s=[],t=g(),o=m(),r=c({...o,[n.response_code]:e,[n.response_message]:i,[n.type]:t});s.push({event:a.signup,attributes:r}),window.analyticsTrack(s)},b=()=>{const e=document.querySelector(".sign-up-popup .popup-alert.popup-error"),i=document.querySelector(".login-popup .popup-alert.popup-error");
1if(e){const i=w(e);E(o.error,i)}else if(i){const e=w(i);E(o.error,e)}},L=()=>{E(o.success,r.success)};window.analyticsTrackSurveyImpression=e=>{if(!e||!e.length)return;const i=[],s=[];for(let i=0;i<e.length;i++){const t=e[i];s.push(c({[n.item_id]:(t[n.id]||"")+"",[n.item_name]:(t[n.id]||"")+"",[n.item_variant]:(t[n.item_variant]||t[n.style]||"")+"",[n.item_brand]:(t[n.provider_id]||"")+"",[n.item_category]:(t[n.type]||"")+"",[n.item_category2]:(t[n.sub_type]||"")+"",[n.item_category3]:(t[n.layout]||"")+"",[n.item_category4]:(t[n.position]||"")+"",[n.item_category5]:(t[n.loi]||"")+"",[n.item_list_name]:(t[n.activity_displayed_session_id]||"")+"",[n.price]:(parseFloat((t[n.points]||0)/100)||"")+"",[n.index]:i,[n.currency]:"usd",[n.quantity]:1}))}i.push({event:a.view_item_list,attributes:{[n.items]:s}}),window.analyticsTrack(i)},window.analyticsTrackGP=(e,i)=>{const o=[],r=i===a.end?a.end:a.start,_=c({[n.id]:(e[n.id]||"")+"",[n.loi]:(e[n.loi]||"")+"",[n.style]:(e[n.style]||"")+"",[n.layout]:(e[n.layout]||"")+"",[n.position]:(e[n.position]||"")+"",[n.provider_id]:(e[n.provider_id]||"")+"",[n.response_code]:(e[n.response_code]||"")+"",[n.response_message]:(e[n.response_message]||"")+"",[n.current_step]:(e[n.current_step]||"")+"",[n.type]:s.questionnaire,[n.sub_type]:t.basic_profile,[n.total_steps]:5});o.push({event:r,attributes:_}),window.analyticsTrack(o)},window.analyticsTrackQuestionnaire=(e,i)=>{const s=[],t=[];t.push(c({[n.is_first]:e[n.is_first],[n.item_id]:e[n.item_id],[n.provider_id]:e[n.provider_id],[n.type]:e[n.type],[n.sub_type]:(e[n.sub_type]||"")+"",[n.current_question]:(e[n.current_question]||"")+"",[n.total_questions]:(e[n.total_questions]||"")+"",[n.points]:e[n.points],[n.response_code]:S(e[n.response_code]).code,[n.response_message]:S(e[n.response_message]).message})),s.push({event:i,attributes:t[0]}),window.analyticsTrack(s)},window.analyticsSurveySortStart=()=>{window.analyticsTrack([{event:a.start,attributes:{[n.type]:s.survey,[n.sub_type]:t.survey_sort}}])},window.analyticsSurveySortEnd=e=>{e&&window.analyticsTrack([{event:a.end,attributes:{[n.response_message]:e,[n.type]:s.survey,[n.sub_type]:t.survey_sort}}])},window.analyticsReferralStart=(e,i)=>{window.analyticsTrack([{event:a.start,attributes:{[n.type]:s.referral,[n.sub_type]:e,[n.source]:i}}])},window.analyticsSurveyFilterStart=e=>{if(!e||!e.length)return;const i=function(e){const i={5:"<5min",10:"5-10min",15:">10min"};return e.map((e=>i[e]||"")).join(", ")}(e);window.analyticsTrack([{event:a.start,attributes:{[n.type]:s.survey,[n.sub_type]:t.survey_time_filter,[n.response_message]:i}}])};const k=()=>{d(),(()=>{const i=[],s=c({[n.a]:l(e.sjAnalytics_a),[n.s1]:l(e.sjAnalytics_s1),[n.s2]:l(e.sjAnalytics_s2),[n.s3]:l(e.sjAnalytics_s3),[n.s4]:l(e.sjAnalytics_s4),[n.s5]:l(e.sjAnalytics_s5),[n.c]:l(e.sjAnalytics_c),[n.rid]:l(e.sjAnalytics_rid)});i.push({event:a.page_view,attributes:s}),window.analyticsTrack(i)})(),(()=>{const i=window.location.search;if(i.length>0){const t=new URLSearchParams(i),n=c({[e.sjAnalytics_a]:t.get("a")||"",[e.sjAnalytics_s1]:t.get("s1")||"",[e.sjAnalytics_s2]:t.get("s2")||"",[e.sjAnalytics_s3]:t.get("s3")||"",[e.sjAnalytics_s4]:t.get("s4")||"",[e.sjAnalytics_s5]:t.get("s5")||"",[e.sjAnalytics_c]:t.get("c")||"",[e.sjAnalytics_rid]:t.get("rid")||""});for(var s in n)n.hasOwnProperty(s)&&y(s,n[s],5)}})(),(()=>{const s=l(e.sjAnalytics_isLoginWithGoogle)||l(e.sjAnalytics_isLoginWithFacebook);if(""===s)return;const t=window.location.pathname,n=window.location.search;n.length>0&&"?login"===n&&s===i?(v(),h()):"/member"===t&&s===i&&(j(),h())})(),(()=>{const s=window.location.pathname,t=l(e.sjAnalytics_isLoginWithEmail);window.hasLoginErrors&&t===i?(v(),y(e.sjAnalytics_isLoginWithEmail,i,0)):"/member"===s&&t===i&&(j(),y(e.sjAnalytics_isLoginWithEmail,i,0))})(),(()=>{const s=window.location.pathname,t=window.PARTIAL_LOGIN,n=new URLSearchParams(window.location.search).get("utm_source")===_;t&&n&&(window.hasLoginErrors?(v(),y(e.sjAnalytics_isLoginWithAutoEmail,i,0)):"/member"===s&&(j(),y(e.sjAnalytics_isLoginWithAutoEmail,i,0)))})(),(()=>{const e=window.location.pathname,s=window.location.search,t=l(T.google)||l(T.facebook);""!==t&&(s.length>0&&"?login"===s&&t===i?b():"/member"===e&&t===i&&L())})(),(()=>{const s=l(e.sjAnalytics_isLoginWithEmail),t=l(T.email);""!==t&&(window.hasSignUpErrors||window.hasLoginErrors&&t===i&&s!==i?b():window.signupSuccess&&L())})()};"complete"===document.readyState?k():document.addEventListener("DOMContentLoaded",(()=>{k()}))}();

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.