<!doctype html>
<html lang="en">

<head>
	<meta charset="UTF-8" />
	<link href="/assets/favicon-bT6ENzJZ.png" rel="icon" type="image/png" />
	<!-- need to add -->

	<title>Hope For The Heart</title>
	<meta name="hope_for_the_heart" content=".*?">
	<meta name="description"
		content="Hope For The Heart is a non-profit organization that provides resources and support to those in need.">

	<meta
		content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
		name="viewport" />

	<style id="keyboard_css"></style>
	<style id="dynamic_css_variables"></style>
	<link href="/favicon/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180" />
	<link href="/favicon/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png" />
	<link href="/favicon/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png" />

	<!-- client provided code -->
	<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
	<link rel="dns-prefetch" href="//js.hs-scripts.com" />
	<script src="https://kit.fontawesome.com/7c6637b9c1.js" crossorigin="anonymous"></script>
	<script async="async" src="//script.crazyegg.com/pages/scripts/0091/8420.js" type="text/javascript"></script>

	<!-- UTM Tracking Helper -->
	<script>
		function getUtmParams() {
			const params = {};
			const searchParams = new URLSearchParams(window.location.search);

			const utmParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content'];

			utmParams.forEach(param => {
				if (searchParams.has(param)) {
					params[param] = searchParams.get(param);

					try {
						sessionStorage.setItem(param, params[param]);

						localStorage.setItem(param, params[param]);

					} catch (e) {
						console.error('Error storing UTM parameters:', e);
					}
				}
			});

			return params;
		}

		// Read UTM parameters from storage if not in URL
		function getStoredUtmParams() {
			const params = {};
			const utmParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content'];

			utmParams.forEach(param => {
				const sessionValue = sessionStorage.getItem(param);
				if (sessionValue) {
					params[param] = sessionValue;
					// console.log(`UTM Parameter from sessionStorage: ${param}=${sessionValue}`);
				} else {
					const localValue = localStorage.getItem(param);
					if (localValue) {
						params[param] = localValue;
						// console.log(`UTM Parameter from localStorage: ${param}=${localValue}`);
					}
				}
			});

			return params;
		}

		function formatUtmForGA4(utmData) {
			const result = {};

			if (utmData.utm_source) result.source = utmData.utm_source;
			if (utmData.utm_medium) result.medium = utmData.utm_medium;
			if (utmData.utm_campaign) result.campaign = utmData.utm_campaign;
			if (utmData.utm_term) result.term = utmData.utm_term;
			if (utmData.utm_content) result.content = utmData.utm_content;

			Object.keys(utmData).forEach(key => {
				result[key] = utmData[key];
			});

			return result;
		}

		document.addEventListener('DOMContentLoaded', function () {
			const urlUtmParams = getUtmParams();
			const storedUtmParams = getStoredUtmParams();

			const allUtmParams = { ...storedUtmParams, ...urlUtmParams };

			if (Object.keys(allUtmParams).length > 0) {
				sessionStorage.setItem('utm_params', JSON.stringify(allUtmParams));

				localStorage.setItem('utm_data', JSON.stringify({
					...allUtmParams,
					referrer_url: document.referrer || ''
				}));

				const ga4UtmParams = formatUtmForGA4(allUtmParams);

				window.dataLayer = window.dataLayer || [];
				window.dataLayer.push({
					event: 'utm_capture',
					traffic_source: allUtmParams.utm_source || 'direct',
					traffic_medium: allUtmParams.utm_medium || 'none',
					traffic_campaign: allUtmParams.utm_campaign || 'none',
					utm_params: ga4UtmParams
				});

				// console.log('UTM data pushed to dataLayer', ga4UtmParams);
			}
		});
	</script>

	<!-- Google Tag Manager -->
	<script>
		window.dataLayer = window.dataLayer || [];

		// Push GA property IDs for GTM configuration
		dataLayer.push({
			'ga-legacy-id': 'G-2K136HV20F',  // Original GA property ID
			'ga-new-id': 'G-FP27JQ725S'      // Firebase Analytics ID
		});

		(function (w, d, s, l, i) {
			w[l] = w[l] || [];
			w[l].push({
				"gtm.start": new Date().getTime(),
				event: "gtm.js"
			});
			var f = d.getElementsByTagName(s)[0],
				j = d.createElement(s),
				dl = l != "dataLayer" ? "&l=" + l : "";
			j.async = true;
			j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
			f.parentNode.insertBefore(j, f);
		})(window, document, "script", "dataLayer", "GTM-5MVPGZN");
	</script>
	<!-- End Google Tag Manager -->

	<!-- Start of HubSpot Embed Code -->
	<script async defer id="hs-script-loader" src="//js.hs-scripts.com/44058374.js" type="text/javascript"></script>
	<!-- End of HubSpot Embed Code -->
	<!-- Meta Pixel Code -->
	<script>
		!(function (f, b, e, v, n, t, s) {
			if (f.fbq) return;
			n = f.fbq = function () {
				n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments);
			};
			if (!f._fbq) f._fbq = n;
			n.push = n;
			n.loaded = !0;
			n.version = "2.0";
			n.queue = [];
			t = b.createElement(e);
			t.async = !0;
			t.src = v;
			s = b.getElementsByTagName(e)[0];
			s.parentNode.insertBefore(t, s);
		})(window, document, "script", "https://connect.facebook.net/en_US/fbevents.js");
		fbq("init", "146169299081188");
		fbq("track", "PageView");
	</script>
	<!-- End Meta Pixel Code -->

	<script>
		(function (config) {
			var s = document.createElement("script");
			s.src = "https://cdn.virtuoussoftware.com/tracker/virtuous.tracker.shim.min.js";
			s.type = "text/javascript";
			s.onload = function () {
				virtuousTrackerShim.init(config);
			};
			document.getElementsByTagName("script")[0].parentNode.appendChild(s);
		})({
			organizationId: "ff1fb832-0e88-4d27-a48b-880482644698"
		});
	</script>

	<!-- Start VWO Async SmartCode -->
	<link rel="preconnect" href="https://dev.visualwebsiteoptimizer.com" />
	<script type="text/javascript" id="vwoCode">
		window._vwo_code ||
			(function () {
				var account_id = 822298,
					version = 2.1,
					settings_tolerance = 2000,
					hide_element = "body",
					hide_element_style =
						"opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;",
					/* DO NOT EDIT BELOW THIS LINE */
					f = false,
					w = window,
					d = document,
					v = d.querySelector("#vwoCode"),
					cK = "_vwo_" + account_id + "_settings",
					cc = {};
				try {
					var c = JSON.parse(localStorage.getItem("_vwo_" + account_id + "_config"));
					cc = c && typeof c === "object" ? c : {};
				} catch (e) { }
				var stT = cc.stT === "session" ? w.sessionStorage : w.localStorage;
				code = {
					nonce: v && v.nonce,
					use_existing_jquery: function () {
						return typeof use_existing_jquery !== "undefined" ? use_existing_jquery : undefined;
					},
					library_tolerance: function () {
						return typeof library_tolerance !== "undefined" ? library_tolerance : undefined;
					},
					settings_tolerance: function () {
						return cc.sT || settings_tolerance;
					},
					hide_element_style: function () {
						return "{" + (cc.hES || hide_element_style) + "}";
					},
					hide_element: function () {
						if (performance.getEntriesByName("first-contentful-paint")[0]) {
							return "";
						}
						return typeof cc.hE === "string" ? cc.hE : hide_element;
					},
					getVersion: function () {
						return version;
					},
					finish: function (e) {
						if (!f) {
							f = true;
							var t = d.getElementById("_vis_opt_path_hides");
							if (t) t.parentNode.removeChild(t);
							if (e)
								new Image().src =
									"https://dev.visualwebsiteoptimizer.com/ee.gif?a=" + account_id + e;
						}
					},
					finished: function () {
						return f;
					},
					addScript: function (e) {
						var t = d.createElement("script");
						t.type = "text/javascript";
						if (e.src) {
							t.src = e.src;
						} else {
							t.text = e.text;
						}
						v && t.setAttribute("nonce", v.nonce);
						d.getElementsByTagName("head")[0].appendChild(t);
					},
					load: function (e, t) {
						var n = this.getSettings(),
							i = d.createElement("script"),
							r = this;
						t = t || {};
						if (n) {
							i.textContent = n;
							d.getElementsByTagName("head")[0].appendChild(i);
							if (!w.VWO || VWO.caE) {
								stT.removeItem(cK);
								r.load(e);
							}
						} else {
							var o = new XMLHttpRequest();
							o.open("GET", e, true);
							o.withCredentials = !t.dSC;
							o.responseType = t.responseType || "text";
							o.onload = function () {
								if (t.onloadCb) {
									return t.onloadCb(o, e);
								}
								if (o.status === 200 || o.status === 304) {
									_vwo_code.addScript({ text: o.responseText });
								} else {
									_vwo_code.finish("&e=loading_failure:" + e);
								}
							};
							o.onerror = function () {
								if (t.onerrorCb) {
									return t.onerrorCb(e);
								}
								_vwo_code.finish("&e=loading_failure:" + e);
							};
							o.send();
						}
					},
					getSettings: function () {
						try {
							var e = stT.getItem(cK);
							if (!e) {
								return;
							}
							e = JSON.parse(e);
							if (Date.now() > e.e) {
								stT.removeItem(cK);
								return;
							}
							return e.s;
						} catch (e) {
							return;
						}
					},
					init: function () {
						if (d.URL.indexOf("__vwo_disable__") > -1) return;
						var e = this.settings_tolerance();
						w._vwo_settings_timer = setTimeout(function () {
							_vwo_code.finish();
							stT.removeItem(cK);
						}, e);
						var t;
						if (this.hide_element() !== "body") {
							t = d.createElement("style");
							var n = this.hide_element(),
								i = n ? n + this.hide_element_style() : "",
								r = d.getElementsByTagName("head")[0];
							t.setAttribute("id", "_vis_opt_path_hides");
							v && t.setAttribute("nonce", v.nonce);
							t.setAttribute("type", "text/css");
							if (t.styleSheet) t.styleSheet.cssText = i;
							else t.appendChild(d.createTextNode(i));
							r.appendChild(t);
						} else {
							t = d.getElementsByTagName("head")[0];
							var i = d.createElement("div");
							i.style.cssText =
								"z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;";
							i.setAttribute("id", "_vis_opt_path_hides");
							i.classList.add("_vis_hide_layer");
							t.parentNode.insertBefore(i, t.nextSibling);
						}
						var o = window._vis_opt_url || d.URL,
							s =
								"https://dev.visualwebsiteoptimizer.com/j.php?a=" +
								account_id +
								"&u=" +
								encodeURIComponent(o) +
								"&vn=" +
								version;
						if (w.location.search.indexOf("_vwo_xhr") !== -1) {
							this.addScript({ src: s });
						} else {
							this.load(s + "&x=true");
						}
					}
				};
				w._vwo_code = code;
				code.init();
			})();
	</script>
	<!-- End VWO Async SmartCode -->
  <script type="module" crossorigin src="/assets/index-CjvB0RbQ.js"></script>
  <link rel="stylesheet" crossorigin href="/assets/index-BNqLsND0.css">

		<meta property="og:title" content="Hope For The Heart" />
		<meta property="og:description" content="Find clear answers, biblical resources, and support for real life challenges from Hope for the Heart, the ministry of June Hunt." />
		<meta property="og:type" content="website" />
		<meta property="og:url" content="https://hopefortheheart.org/wp-content/uploads/elementor/css/post-49844.css" />
	<meta property="og:image" content="https://hopefortheheart.s3-us-west-2.amazonaws.com/2539ab9e-0e46-4525-b0fd-1008c4547567_1200w.webp" /></head>

<body>


	<!-- Google Tag Manager (noscript) -->
	<noscript>
		<iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-5MVPGZN"
			style="display: none; visibility: hidden" width="0"></iframe>
	</noscript>
	<!-- End Google Tag Manager (noscript) -->
	<noscript><img alt="fb" height="1" src="https://www.facebook.com/tr?id=146169299081188&ev=PageView&noscript=1"
			style="display: none" width="1" /></noscript>
	<div id="root"></div>
	<script>
		window.FileWeb = window.File; // backup the native File api because cordova-plugin-file clobbers it.
	</script>
	<div>
		<a href="/explore" />
		<a href="/explore/resources" />
		<a href="/explore/freeresources" />
		<a href="/explore/blog" />
		<a href="/explore/shows" />
		<a href="/explore/shows/hope-in-the-night" />
		<a href="/explore/shows/hope-talks" />
		<a href="/about/story" />
		<a href="/about/system" />
		<a href="/about/statement" />
		<a href="/about/vision" />
		<a href="/about/leadership" />
		<a href="/about/careers" />
		<a href="/events" />
		<a href="/store" />
		<a href="/store/keys" />
		<a href="/store/care" />
		<a href="/store/foundations-of-care" />
		<a href="/store/training" />
		<a href="/donate" />
		<a href="/contact" />
	</div>


</body>

</html>