PageSourceSearch

https://www.ballyneal.com/wp-content/plugins/fps-stgf/public/js/fps-stgf-public.js?ver=1.0.3

js ballyneal.com collected 2026-10-02 12:57:40 UTC 1,553 bytes, 52 lines download raw bytes

1(function($) {
2	"use strict";
3	$(window).load(function() {
4		setTimeout(function() {
5			function getCookieValue(a) {
6				var b = document.cookie.match("(^|[^;]+)\\s*" + a + "\\s*=\\s*([^;]+)");
7				return b ? b.pop() : "";
8			}
9			var cookie = getCookieValue("__utmzch");
10			var sourceAndMedium = getCookieValue("__utmzz");
11			let gaID = getCookieValue("_ga");
12			var cookie = cookie.replace("utmcch=", "");
13
14			let strippedCookie = sourceAndMedium.split("|");
15			let source;
16			let medium;
17			let campaign;
18			let other;
19			//do a loop within campaign items
20			strippedCookie.map((item) => {
21				if (item.includes("utmccn=")) {
22					campaign = item.replace("utmccn=", "");
23				} else if (item.includes("utmcsr=")) {
24					source = item.replace("utmcsr=", "");
25				} else if (item.includes("utmcmd=")) {
26					medium = item.replace("utmcmd=", "");
27				} else {
28					other = item;
29				}
30			});
31
32			//            let source = strippedCookie[0].replace("utmcsr=", "");
33			//            let medium = strippedCookie[1].replace("utmcmd=", "");
34
35			$(".gfield input").each(function() {
36				if ($(this).val() === "not set") {
37					$(this).val(cookie);
38				} else if ($(this).val() === "medium not set") {
39					$(this).val(medium);
40				} else if ($(this).val() === "source not set") {
41					$(this).val(source);
42				} else if ($(this).val() === "ga id not set") {
43					$(this).val(gaID);
44				} else if ($(this).val() === "campaign not set") {
45                    $(this).val(campaign);
46                } else {
47					return;
48				}
49			});
50		}, 800);
51	});
52})(jQuery);

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.