PageSourceSearch

https://info.shelterpoint.com/Resources/libraries/GA4/GA4DataLayer.js?v=3.1

js shelterpoint.com collected 2026-10-03 17:37:25 UTC 10,718 bytes, 259 lines download raw bytes

1function CTAClickContactUs() {
2    dataLayer.push({
3		'event': 'cta_click',
4		'cta_text': 'CONTACT US', // Learn More, Pay Now, Submit NEW Claims, Upload your claim online now, upload now,
5		'cta_location': 'Footer - Paid Family Medical Leave', // homepage - premium payment, homepage - 24/7 claim help
6		'cta_type': 'button', // button, text 
7		'link_url': 'https://www.shelterpoint.com/broker/contactoverview.aspx?p=1.1.3.1', // 
8	});
9
10		window.open("https://www.shelterpoint.com/broker/contactoverview.aspx?p=1.1.3.1", "_blank");
11	}
12
13function NavClickSubMenuSecLnk(section,subsection,navtext)
14{
15	dataLayer.push({
16	  'event': 'nav_click',
17		'site_section': section, // ex. Homepage, Producer, Employer, News, Blog, Login, Contact etc.
18		'site_subsection': subsection, // online quotes, product portfolio, contact, members information, contact overview etc.
19		'site_section_third_level': '', // ex. why choose us?, request information, statutory insurance - ct pfml, etc.
20		'nav_text': navtext, // logo click, members, contact, why register, change state, etc.
21		'nav_click_location': 'page navigation', // footer, header, page navigation
22	});
23
24	//window.open(url, navtarget);
25}
26function NavClickSubMenuThirdLnk(section,subsection,thirdlevel,navtext)
27{
28	dataLayer.push({
29	  'event': 'nav_click',
30		'site_section': section, // ex. Homepage, Producer, Employer, News, Blog, Login, Contact etc.
31		'site_subsection': subsection, // online quotes, product portfolio, contact, members information, contact overview etc.
32		'site_section_third_level': thirdlevel, // ex. why choose us?, request information, statutory insurance - ct pfml, etc.
33		'nav_text': navtext, // logo click, members, contact, why register, change state, etc.
34		'nav_click_location': 'page navigation', // footer, header, page navigation
35	});
36
37	//window.open(url, navtarget);
38}
39	
40function EmailSubscriptionClick() {
41	dataLayer.push({
42	  'event': 'email_subscription_click',
43		'cta_text': 'Sign-Up for Updates', // subscribe, sign up for updates, stay tuned, etc.
44		'cta_type': 'button', // button, text 
45		'subscription_name': 'General', // ex. general, Massachusetts Paid Family & Medical Leave, e-newsletter etc.
46	});
47
48	$("#myModal").modal('show');
49}
50
51function NavClickSubMenu(url,section,subsection,navtext,navtarget)
52{
53	dataLayer.push({
54	  'event': 'nav_click',
55		'site_section': section, // ex. Homepage, Producer, Employer, News, Blog, Login, Contact etc.
56		'site_subsection': subsection, // online quotes, product portfolio, contact, members information, contact overview etc.
57		'site_section_third_level': '', // ex. why choose us?, request information, statutory insurance - ct pfml, etc.
58		'nav_text': navtext, // logo click, members, contact, why register, change state, etc.
59		'nav_click_location': 'page navigation', // footer, header, page navigation
60	});
61	
62	window.open(url, navtarget);
63}
64
65function SelectContentRelatedArticles(text) {
66    dataLayer.push({
67        'event': 'select_content',
68        'cta_text': text, // Img - Paid Family Leave: Gaining Traction in New York and Beyond, Title - Paid Family Leave: Gaining Traction in New York and Beyond, etc.
69        'cta_location': 'Related Articles', // Related Articles, News - Content List, Paid Leave Programs - More Information for Producers &  Employers
70        'content_category': '', // COVID-19 Updates, client information, events, news - press coverage, etc.
71        'content_name': text, // Official Release: ShelterPoint Life Wins Multiple Awards for their COVID-19 Communications, etc.
72        'content_id': '', // 12234, 23467, etc.
73    });
74    //window.location.href = url;
75}
76
77function CalculationToolClick(tooltype) {
78    dataLayer.push({
79		'event': 'calculation_tool_click',
80		'cta_text': 'use our calculation tool', // subscribe, sign up, submit to start, use our calculation tool etc.
81		'tool_type': tooltype, // 2022 Paid Family Leave Weekly Benefit Estimator - Biweekly, 2022 Paid Family Leave Annual Premium Estimator, etc.
82	});
83}
84
85function CTAClickButtons(url,text,location,navtarget)
86{
87	dataLayer.push({
88		'event': 'cta_click',
89		'cta_text': text, // Learn More, Pay Now, Submit NEW Claims, Upload your claim online now, upload now,
90		'cta_location': location, // homepage - premium payment, homepage - 24/7 claim help
91		'cta_type': 'button', // button, text 
92		'link_url': url // 
93	});
94	
95	if(url != '')
96	{
97		window.open(url, navtarget);
98	}
99}
100
101function NavClickSubMenuThirdLevel(url,section,subsection,thirdlevel,navtext,navtarget)
102{
103	dataLayer.push({
104	  'event': 'nav_click',
105		'site_section': section, // ex. Homepage, Producer, Employer, News, Blog, Login, Contact etc.
106		'site_subsection': subsection, // online quotes, product portfolio, contact, members information, contact overview etc.
107		'site_section_third_level': thirdlevel, // ex. why choose us?, request information, statutory insurance - ct pfml, etc.
108		'nav_text': navtext, // logo click, members, contact, why register, change state, etc.
109		'nav_click_location': 'page navigation', // footer, header, page navigation
110	});
111	
112	window.open(url, navtarget);
113}
114
115function SelectContentArticles(text,location,category) {
116    dataLayer.push({
117        'event': 'select_content',
118        'cta_text': text, // Img - Paid Family Leave: Gaining Traction in New York and Beyond, Title - Paid Family Leave: Gaining Traction in New York and Beyond, etc.
119        'cta_location': location, // Related Articles, News - Content List, Paid Leave Programs - More Information for Producers &  Employers
120        'content_category': category, // COVID-19 Updates, client information, events, news - press coverage, etc.
121        'content_name': text, // Official Release: ShelterPoint Life Wins Multiple Awards for their COVID-19 Communications, etc.
122        'content_id': '', // 12234, 23467, etc.
123    });
124    //window.open(url, selecttarget);
125}
126
127function FileDownloadClaimHelp(state,filename,fileextension,linktext,linkurl,doctype,productcategory,producttype,productname,filetarget)
128{
129	dataLayer.push({
130		'event': 'file_download',
131		'state_selected': state, // alabama, alaska, ohio, new york, etc.
132		'file_name': filename, // ny dbl/pfl, Massachusetts Paid Family & Medical Leave Brochures, etc.
133		'file_extension': fileextension, // pdf, xlxs, doc, etc.
134		'file_id': '', // 23489, 34897, DBLNYIS9, etc.
135		'link_text': linktext, // DP-1 Application Form, 24-Hour Accident Claim - UN, DB450 Claim Form Guide, etc.
136		'link_url': linkurl, // https://area51.shelterpoint.com/downloaddocument/infosheets/DBLNYIS9.pdf?Source=DownloadCenterProducer
137		'document_type': doctype, // application form, claim form, enrollment form, info sheet, etc.
138		'product_category': productcategory, // Ex. Statutory Insurance, Non-insurance Products, Other Group Benefits, etc.
139		'product_type': producttype, // Temporary Disability Insurance, Paid Family & Medical Leave, 1.15x Statutory DBL,
140			//3x Statutory DBL, etc.
141		'product_name': productname, // New Jersey Temporary Disability Insurance, Massachusetts Paid Family & Medical Leave (PFML), New York DBL/PFL (Statutory Disability Insurance), etc.
142		'product_id': '', // 25678, 489203, etc.
143		'user_type': '', // ex. producer, employer, employee, etc.
144	});
145	window.open(linkurl,filetarget);
146}
147
148function EmailSubscriptionClickContent(ctatext,ctatype,subscriptionname,url,ctatarget) {
149	dataLayer.push({
150	  'event': 'email_subscription_click',
151		'cta_text': ctatext, // subscribe, sign up for updates, stay tuned, etc.
152		'cta_type': ctatype, // button, text 
153		'subscription_name': subscriptionname, // ex. general, Massachusetts Paid Family & Medical Leave, e-newsletter etc.
154	});
155
156	window.open(url,ctatarget);
157}
158
159function EmailSubscriptionTextClick(ctatext,ctatype,modalname) {
160	dataLayer.push({
161	  'event': 'email_subscription_click',
162		'cta_text': ctatext, // subscribe, sign up for updates, stay tuned, etc.
163		'cta_type': ctatype, // button, text 
164		'subscription_name': 'General', // ex. general, Massachusetts Paid Family & Medical Leave, e-newsletter etc.
165	});
166
167	$("#"+modalname).modal('show');
168}
169
170function EmailSubscriptionClickButton(ctatext,ctatype,subscriptionname,modalname) {
171	dataLayer.push({
172	  'event': 'email_subscription_click',
173		'cta_text': ctatext, // subscribe, sign up for updates, stay tuned, etc.
174		'cta_type': ctatype, // button, text 
175		'subscription_name': subscriptionname, // ex. general, Massachusetts Paid Family & Medical Leave, e-newsletter etc.
176	});
177
178	$("#"+modalname).modal('show');
179}
180
181function ChkClickStateComparision(listType, stateName, filterDetails,url)
182{
183	dataLayer.push({
184		'event': 'PFML State Comparison - features',
185		'list_type': listType,
186		'state_selected': stateName,
187		'list_filter_option': filterDetails,
188		'link_url':url
189	});
190}
191function ChkClickQuoteMatrix(listType, stateName, filterDetails)
192{
193  dataLayer.push({
194    'event': 'Quote Matrix - features',
195    'list_type': listType,
196    'state_selected': stateName,
197    'list_filter_option': filterDetails
198  });
199  
200}
201
202function ClickCampaignsSubmit(stateName, companyName,comments,accountType,url)
203{
204	dataLayer.push({
205		'event': 'PFML Campaign – Submit',		
206		'state_selected': stateName,
207		'company_name': companyName,
208		'comments': comments,
209		'account_type': accountType,
210		'link_url':url
211	});
212}
213
214function ClickWebinarSubmit(stateName, companyName,accountType,url)
215{
216	dataLayer.push({
217		'event': 'PFML Webinar – Register',		
218		'state_selected': stateName,
219		'company_name': companyName,
220		'account_type': accountType,
221		'link_url':url
222	});
223}
224function PFMLEventsCalendar(buttonLabel,url,isInternalURL)
225{
226	var eventCalendarUrl = window.location.href;
227	var redirectUrl = url;
228	if(isInternalURL)
229	{
230		redirectUrl = window.location.origin + url;
231	}
232	dataLayer.push({
233		'event': 'PFML Events – Calendar',		
234		'event_calendar_url': eventCalendarUrl,
235		'button_label': buttonLabel,
236		'link_url':redirectUrl
237	});
238}
239
240function fileDownload(buttonName, buttonUrl) {
241    dataLayer.push({
242        'event': 'file_download',
243        'button_name': buttonName, 
244        'button_url': buttonUrl,
245    });
246    if (buttonUrl != "") {
247        window.open(buttonUrl, "_blank");
248    }
249}
250function CTAClick(url,text,location,navtarget,type)
251{
252	dataLayer.push({
253		'event': 'cta_click',
254		'cta_text': text, // Learn More, Pay Now, Submit NEW Claims, Upload your claim online now, upload now,
255		'cta_location': location, // homepage - premium payment, homepage - 24/7 claim help
256		'cta_type': type, // button, text 
257		'link_url': url // 
258	});
259}

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.