{"id":70598,"date":"2024-02-02T08:42:59","date_gmt":"2024-02-02T15:42:59","guid":{"rendered":"https:\/\/inmoment.com\/?post_type=lp&#038;p=70598"},"modified":"2024-03-12T03:43:00","modified_gmt":"2024-03-12T09:43:00","slug":"local-seo-guide-how-to-get-to-the-top-of-search-results","status":"publish","type":"lp","link":"https:\/\/inmoment.com\/en-gb\/lp\/local-seo-guide-how-to-get-to-the-top-of-search-results\/","title":{"rendered":"Local SEO Guide: How to Get to the Top of Search Results"},"content":{"rendered":"\n<section id=\"section-block_d93a33f295d74116ac348c550b862b7b\" class=\"block-section bg-transparent   bg-cover bg-center bg-no-repeat  default\"\n    style=\" \">\n\n    <div class=\"pt-70px pb-100px\">\n\n        <div class=\"container\">\n\n            \n\n<div id=\"intro-block_6efb9483edd13f23340f6068cbcb18c8\" class=\"block-intro mb-20px \">\n\n\t<div class=\"block-intro-inner bg-inherit-gradient relative\">\n\t\t<div class=\"relative z-10\">\n\t\t\t\t\t\t\t<p class=\"eyebrow\">Unlock the Power of Local SEO: Get Your FREE Guide Today!<\/p>\n\t\t\t\t\t\t\t\t\t\t<h1 class=\"title\">Local SEO Guide: How to Get to the Top of Search Results<\/h1>\n\t\t\t\t\t\t\n\t\t<\/div>\n\t<\/div>\n\n<\/div>\n\n\n\n<p class=\"has-normal-font-size\">Are you looking to enhance your business&#8217;s online presence and skyrocket its visibility in local searches?<\/p>\n\n\n\n<p class=\"has-normal-font-size\">Local search engine optimisation (local SEO) is considered one of the most effective tactics for driving traffic and revenue for businesses of all kinds and sizes. Done right, local SEO can help your brand attract customers without spending thousands of dollars on traditional advertising campaigns or PR blitzes.<\/p>\n\n\n\n<p class=\"has-normal-font-size\"><strong>According to local SEO statistics:<\/strong><\/p>\n\n\n\n<section id=\"section-block_ef7b8b8998242b9c63465aeea477c259\" class=\" mt-20px lp-list-block\">\n\n\t\n\t<ul class=\"list-ul\">\n\n\t\n\t\t<li class=\"list-item\">\n\t\t\t<div class=\"list-svg\">\n\t\t\t\t<svg class=\"color-inherit\" width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t<path d=\"M12 2.93079C6.49 2.93079 2 7.42079 2 12.9308C2 18.4408 6.49 22.9308 12 22.9308C17.51 22.9308 22 18.4408 22 12.9308C22 7.42079 17.51 2.93079 12 2.93079ZM16.78 10.6308L11.11 16.3008C10.97 16.4408 10.78 16.5208 10.58 16.5208C10.38 16.5208 10.19 16.4408 10.05 16.3008L7.22 13.4708C6.93 13.1808 6.93 12.7008 7.22 12.4108C7.51 12.1208 7.99 12.1208 8.28 12.4108L10.58 14.7108L15.72 9.57079C16.01 9.28079 16.49 9.28079 16.78 9.57079C17.07 9.86079 17.07 10.3308 16.78 10.6308Z\" fill=\"currentColor\"\/>\n\t\t\t\t<\/svg>\n\t\t\t<\/div>\n\t\t\t<p class=\"list-paragraph color-stingray\">46% of Google searches have local intent, emphasizing the significance of local searches.<\/p>\n\t\t<\/li>\n\n\n\t\n\t\t<li class=\"list-item\">\n\t\t\t<div class=\"list-svg\">\n\t\t\t\t<svg class=\"color-inherit\" width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t<path d=\"M12 2.93079C6.49 2.93079 2 7.42079 2 12.9308C2 18.4408 6.49 22.9308 12 22.9308C17.51 22.9308 22 18.4408 22 12.9308C22 7.42079 17.51 2.93079 12 2.93079ZM16.78 10.6308L11.11 16.3008C10.97 16.4408 10.78 16.5208 10.58 16.5208C10.38 16.5208 10.19 16.4408 10.05 16.3008L7.22 13.4708C6.93 13.1808 6.93 12.7008 7.22 12.4108C7.51 12.1208 7.99 12.1208 8.28 12.4108L10.58 14.7108L15.72 9.57079C16.01 9.28079 16.49 9.28079 16.78 9.57079C17.07 9.86079 17.07 10.3308 16.78 10.6308Z\" fill=\"currentColor\"\/>\n\t\t\t\t<\/svg>\n\t\t\t<\/div>\n\t\t\t<p class=\"list-paragraph color-stingray\">Consumers seek specific trust signals when searching for businesses.<\/p>\n\t\t<\/li>\n\n\n\t\n\t\t<li class=\"list-item\">\n\t\t\t<div class=\"list-svg\">\n\t\t\t\t<svg class=\"color-inherit\" width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t<path d=\"M12 2.93079C6.49 2.93079 2 7.42079 2 12.9308C2 18.4408 6.49 22.9308 12 22.9308C17.51 22.9308 22 18.4408 22 12.9308C22 7.42079 17.51 2.93079 12 2.93079ZM16.78 10.6308L11.11 16.3008C10.97 16.4408 10.78 16.5208 10.58 16.5208C10.38 16.5208 10.19 16.4408 10.05 16.3008L7.22 13.4708C6.93 13.1808 6.93 12.7008 7.22 12.4108C7.51 12.1208 7.99 12.1208 8.28 12.4108L10.58 14.7108L15.72 9.57079C16.01 9.28079 16.49 9.28079 16.78 9.57079C17.07 9.86079 17.07 10.3308 16.78 10.6308Z\" fill=\"currentColor\"\/>\n\t\t\t\t<\/svg>\n\t\t\t<\/div>\n\t\t\t<p class=\"list-paragraph color-stingray\">Shockingly, 58% of companies currently lack a solid local SEO plan.<\/p>\n\t\t<\/li>\n\n\n\t <!-- end of list loop -->\n\n\t<\/ul>\n\n\n\t<!-- <ul class=\"list-ul\">\n\t\t<li class=\"list-item\">\n\t\t\t<div class=\"list-svg\">\n\t\t\t\t<svg class=\"color-inherit\" width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t<path d=\"M12 2.93079C6.49 2.93079 2 7.42079 2 12.9308C2 18.4408 6.49 22.9308 12 22.9308C17.51 22.9308 22 18.4408 22 12.9308C22 7.42079 17.51 2.93079 12 2.93079ZM16.78 10.6308L11.11 16.3008C10.97 16.4408 10.78 16.5208 10.58 16.5208C10.38 16.5208 10.19 16.4408 10.05 16.3008L7.22 13.4708C6.93 13.1808 6.93 12.7008 7.22 12.4108C7.51 12.1208 7.99 12.1208 8.28 12.4108L10.58 14.7108L15.72 9.57079C16.01 9.28079 16.49 9.28079 16.78 9.57079C17.07 9.86079 17.07 10.3308 16.78 10.6308Z\" fill=\"currentColor\"\/>\n\t\t\t\t<\/svg>\n\t\t\t<\/div>\n\t\t\t<p class=\"list-paragraph color-stingray\">You will get so much of this specific categorie of knowledge. Get ready.<\/p>\n\t\t<\/li>\n\t\t<li class=\"list-item\">\n\t\t\t<div class=\"list-svg\">\n\t\t\t\t<svg class=\"color-inherit\" width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t<path d=\"M12 2.93079C6.49 2.93079 2 7.42079 2 12.9308C2 18.4408 6.49 22.9308 12 22.9308C17.51 22.9308 22 18.4408 22 12.9308C22 7.42079 17.51 2.93079 12 2.93079ZM16.78 10.6308L11.11 16.3008C10.97 16.4408 10.78 16.5208 10.58 16.5208C10.38 16.5208 10.19 16.4408 10.05 16.3008L7.22 13.4708C6.93 13.1808 6.93 12.7008 7.22 12.4108C7.51 12.1208 7.99 12.1208 8.28 12.4108L10.58 14.7108L15.72 9.57079C16.01 9.28079 16.49 9.28079 16.78 9.57079C17.07 9.86079 17.07 10.3308 16.78 10.6308Z\" fill=\"currentColor\"\/>\n\t\t\t\t<\/svg>\n\t\t\t<\/div>\n\t\t\t<p class=\"list-paragraph color-stingray\">Wait, no way there\u2019s more. Yep. There totally is. register bro.<\/p>\n\t\t<\/li>\n\t\t<li class=\"list-item\">\n\t\t\t<div class=\"list-svg\">\n\t\t\t\t<svg class=\"color-inherit\" width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t\t\t\t<path d=\"M12 2.93079C6.49 2.93079 2 7.42079 2 12.9308C2 18.4408 6.49 22.9308 12 22.9308C17.51 22.9308 22 18.4408 22 12.9308C22 7.42079 17.51 2.93079 12 2.93079ZM16.78 10.6308L11.11 16.3008C10.97 16.4408 10.78 16.5208 10.58 16.5208C10.38 16.5208 10.19 16.4408 10.05 16.3008L7.22 13.4708C6.93 13.1808 6.93 12.7008 7.22 12.4108C7.51 12.1208 7.99 12.1208 8.28 12.4108L10.58 14.7108L15.72 9.57079C16.01 9.28079 16.49 9.28079 16.78 9.57079C17.07 9.86079 17.07 10.3308 16.78 10.6308Z\" fill=\"currentColor\"\/>\n\t\t\t\t<\/svg>\n\t\t\t<\/div>\n\t\t\t<p class=\"list-paragraph color-stingray\">geewhiz. you guys are just giving away information. so cool of you.<\/p>\n\t\t<\/li>\n\t<\/ul> -->\n<\/section>\n\n\n\n<p class=\"has-normal-font-size\">The landscape of online searches has evolved. People don&#8217;t just seek information; they want to know where they can find it, its proximity, and its credibility, all tied to specific geographic locations.<\/p>\n\n\n\n<p class=\"has-normal-font-size\">Download our comprehensive guide today to see how you can improve your brand\u2019s online presence as well as the search visibility of your business locations!<\/p>\n\n\n        <\/div>\n\n    <\/div>\n\n<\/section>\n\n\n\n\t<span class=\"hs-gated-content-reveal-overlay  \"><\/span>\n\t<div class=\"hs-form-sticky-wrap   \">\n\t\t\n\n\t\t<div id=\"hubspot-form-69d12c1a3026d\" class=\"block-hubspot-form hs-form-outer  \" data-chili=\"\" data-form-id=\"248b0270-bbfd-4f66-84b5-4a14e81881da\" >\n\t\t\t\t\t\t\t\t\t<!-- <span class=\"hs-gated-content-reveal-overlay\"><\/span> -->\n\t\t\t\t\t\t\n\n\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\t\t\t<h3 class=\"hs-form-title   \">Download Free Guide Today! <\/h3>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"skeleton-loader\" id=\"loading-indicator-hubspot-form-69d12c1a3026d\">\n\t\t\t\t\t<div class=\"skeleton-field formpulse delay-1\">\n\t\t\t\t\t\t<div class=\"skeleton-label\"><\/div>\n\t\t\t\t\t\t<div class=\"skeleton-input\"><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"skeleton-field formpulse delay-2\">\n\t\t\t\t\t\t<div class=\"skeleton-label\"><\/div>\n\t\t\t\t\t\t<div class=\"skeleton-input\"><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"skeleton-field formpulse delay-3\">\n\t\t\t\t\t\t<div class=\"skeleton-label\"><\/div>\n\t\t\t\t\t\t<div class=\"skeleton-input\"><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<script>\n\t\t\t\t\t\n\n\t\t\t\t\thsformEmbedJs.addEventListener('load', function(event_69d12c1a3026d) {\n\n\t\t\t\t\tvar gatedContentType = 'pdf';\n\t\t\t\t\tvar timeoutTime = 0;\n\n\t\t\t\t\t\t\/\/ Set up functions\n\t\t\t\t\t\tfunction onFormReadyFunction($form) {\n\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ Hide the loading indicator here if ZIFC not enabled\n\t\t\t\t\t\t\t\tif (document.getElementById('loading-indicator-hubspot-form-69d12c1a3026d'))\n\t\t\t\t\t\t\t\t\tdocument.getElementById('loading-indicator-hubspot-form-69d12c1a3026d').style.display = 'none';\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ Gated content known user check\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/*\n\t\t\t\t\t\t\tif(( localStorage.getItem('hasSubmittedForm') === 'true' && document.cookie.toLowerCase().indexOf('hubspotutk') > -1 ) && (gatedContentType === 'pdf' || gatedContentType === 'popupPdf')) {\n\t\t\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.skeleton-loader').style.display = 'none';\n\t\t\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.form_target').style.display = 'none';\n\t\t\t\t\t\t\t\tlet submittedMessageCustom = $form[0].closest('.block-hubspot-form').appendChild(document.createElement('div'));\n\t\t\t\t\t\t\t\tsubmittedMessageCustom.classList.add('submitted-message-custom');\n\n\t\t\t\t\t\t\t\tif (gatedContentType === 'popupPdf') submittedMessageCustom.classList.add('text-center');\n\n\t\t\t\t\t\t\t\tsubmittedMessageCustom.innerHTML = '<a href=\"https:\/\/inmoment.com\/wp-content\/uploads\/2024\/01\/TL-02787-1of3-Local-SEO-Guide-2023-How-to-Get-to-the-Top-of-Search-Results.pdf\" class=\"known-user-download header-cta-button button background-tsunami inline-block px-8 py-4 mb-4\" target=\"_blank\" data-last-asset=\"Local SEO Guide \"><span>Download Now<\/span><span class=\"item-icon order-3 right-icon\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 512 512\"><!--! Font Awesome Pro 6.5.2 by @fontawesome - https:\/\/fontawesome.com License - https:\/\/fontawesome.com\/license (Commercial License) Copyright 2024 Fonticons, Inc. --><path d=\"M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z\"\/><\/svg><\/a><\/div>';\n\n\n\t\t\t\t\t\t\t\tvar link_text = $form[0].closest('.block-hubspot-form').querySelector('.known-user-download').innerText;\n\t\t\t\t\t\t\t\tvar destination_url = $form[0].closest('.block-hubspot-form').querySelector('.known-user-download').href;\n\t\t\t\t\t\t\t\tvar link_class = $form[0].closest('.block-hubspot-form').querySelector('.known-user-download').classList.toString();\n\n\t\t\t\t\t\t\t\tvar knownUserDownloadClick = {\n\t\t\t\t\t\t\t\t\t'event': 'known_user_download',\n\t\t\t\t\t\t\t\t\t'link_text': link_text,\n\t\t\t\t\t\t\t\t\t'source_page': window.location.href,\n\t\t\t\t\t\t\t\t\t'Referrer': document.referrer,\n\t\t\t\t\t\t\t\t\t'destination_url': destination_url,\n\t\t\t\t\t\t\t\t\t'link_class': link_class,\n\t\t\t\t\t\t\t\t\t'lastAsset': 'Local SEO Guide ',\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\thsLinkClickTracking();\n\t\t\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.known-user-download').addEventListener('click', () => {\n\t\t\t\t\t\t\t\t\tif (window.dataLayer) {\n\t\t\t\t\t\t\t\t\t\twindow.dataLayer.push(knownUserDownloadClick);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t*\/\n\n\t\t\t\t\t\t\n\n\n\t\t\t\t\t\tif (gatedContentType === 'contentReveal') {\n\t\t\t\t\t\t\tif (localStorage.getItem('hasSubmittedForm') !== 'true') {\n\t\t\t\t\t\t\t\ttimeoutTime = parseInt(timeoutTime * 1000);\n\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t\t\t\tdocument.body.classList.add('gated-lock-screen');\n\t\t\t\t\t\t\t\t\t\tdocument.documentElement.classList.add('gated-lock-screen');\n\t\t\t\t\t\t\t\t\t}, timeoutTime);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\/\/ inject custom field values into Hubspot hidden input names\n\t\t\t\t\t\t\tvar formIDLastAssetData = formIDLastAssetData || [];\n\t\t\t\t\t\t\tformIDLastAssetData.push({\n\t\t\t\t\t\t\t\tid: 'hubspot-form-69d12c1a3026d',\n\t\t\t\t\t\t\t\tlast_asset: 'Local SEO Guide '\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tvar input = $form[0].querySelector('input[name=\"last_asset\"]');\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\/\/lastAssetInputs.forEach(input => {\n\t\t\t\t\t\t\tif(input && input.closest('.block-hubspot-form')) {\n\t\t\t\t\t\t\t\tvar formId = input.closest('.block-hubspot-form').id;\n\t\t\t\t\t\t\t\tvar formData = formIDLastAssetData.find(item => item.id === formId);\n\n\t\t\t\t\t\t\tif (formData) {\n\t\t\t\t\t\t\t\tinput.value = formData.last_asset;\n\t\t\t\t\t\t\t\tinput.dispatchEvent(new Event('input', {\n\t\t\t\t\t\t\t\t\tbubbles: true\n\t\t\t\t\t\t\t\t}));\n\n\t\t\t\t\t\t\t\tconsole.log(formData.last_asset);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\/\/});\n\t\t\t\t\t\t\/\/ if (document.querySelector('input[name=\"last_asset\"]')) {\n\t\t\t\t\t\t\/\/ \tdocument.querySelector('input[name=\"last_asset\"]').value = '<\/\/?php echo $last_asset; ?>';\n\t\t\t\t\t\t\/\/ \tdocument.querySelector('input[name=\"last_asset\"]').dispatchEvent(new Event('input', {\n\t\t\t\t\t\t\/\/ \t\tbubbles: true\n\t\t\t\t\t\t\/\/ \t}));\n\n\t\t\t\t\t\t\t\/\/ }\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\/\/ After button clicked, but before data is sent\n\t\t\t\t\tfunction onBeforeFormSubmitFunction($form) {\n\t\t\t\t\t\tconst submitButton = $form.find('input[type=\"submit\"]').get(0);\n\n\t\t\t\t\t\t\tif (submitButton) {\n\t\t\t\t\t\t\t\tsubmitButton.classList.add('submit-loading');\n\t\t\t\t\t\t\t\tsubmitButton.value = \"Loading...\";\n\t\t\t\t\t\t\t\tsubmitButton.disabled = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\/\/ Next few functions fire only if ZI enabled\n\t\t\t\t\t\tfunction onEmailChange($form) {\n\t\t\t\t\t\t\tlet emailInput = document.querySelector('input[name=\"email\"]');\n\t\t\t\t\t\t\tif(document.querySelector('input[name=\"Email\"]'))\n\t\t\t\t\t\t\t\temailInput = document.querySelector('input[name=\"Email\"]');\n\n\t\t\t\t\t\tif (emailInput && !emailInput.hasListenersAttached) {\n\t\t\t\t\t\t\t['input', 'change'].forEach(eventType => {\n\t\t\t\t\t\t\t\temailInput.addEventListener(eventType, handleInputChange.bind(null, $form, emailInput));\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\temailInput.hasListenersAttached = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction handleInputChange($form, emailInput) {\n\t\t\t\t\t\t\/\/console.log('Email input event triggered:', emailInput.value);\n\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\tfunction handleZoomInfoMatch($form, emailInput) {\n\t\t\t\t\t\tvalidateEmailWithDelay(emailInput);\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction validateEmailWithDelay(emailInput) {\n\t\t\t\t\t\tvar form = emailInput.closest('form');\n\t\t\t\t\t\tvar submitButton = form.querySelector('[type=\"submit\"]');\n\t\t\t\t\t\t\n\t\t\t\t\t\tfunction disableSubmit() {\n\t\t\t\t\t\t\t\/\/console.log('Disable Submit');\n\t\t\t\t\t\t\tsubmitButton.classList.add('disabled');\n\t\t\t\t\t\t\tsubmitButton.disabled = true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tfunction enableSubmit() {\n\t\t\t\t\t\t\t\/\/console.log('Enable Submit');\n\t\t\t\t\t\t\tsubmitButton.classList.remove('disabled');\n\t\t\t\t\t\t\tsubmitButton.disabled = false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\tconst neverBounceStatus = emailInput.getAttribute('data-zi-neverbounce-status');\n\t\t\t\t\t\t\t\/\/console.log(neverBounceStatus);\n\n\n\t\t\t\t\t\t\tfetch(inmomentlocalizedata.theme_path + '\/template-parts\/content-blocks\/blocked-domains.json')\n\t\t\t\t\t\t\t.then(response => response.json())\n\t\t\t\t\t\t\t.then(list => {\n\n\t\t\t\t\t\t\t\tvar emailErrorHtml = document.createElement('div');\n\t\t\t\t\t\t\t\temailErrorHtml.setAttribute('class', 'mktoError mktoErrorCustom');\n\t\t\t\t\t\t\t\temailErrorHtml.innerHTML = 'This email is not allowed.';\n\n\n\t\t\t\t\t\t\t\tfunction isDomainFound(email) {\n\t\t\t\t\t\t\t\t\tconst domain = email.split('@')[1];\n\t\t\t\t\t\t\t\t\treturn list.includes(domain);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (isDomainFound(emailInput.value) || neverBounceStatus === 'invalid' || neverBounceStatus === 'disposable') {\n\t\t\t\t\t\t\t\t\tif(!form.querySelector('.mktoErrorCustom'))\n\t\t\t\t\t\t\t\t\t\temailInput.after(emailErrorHtml);\n\t\t\t\t\t\t\t\t\tdisableSubmit();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif(form.querySelector('.mktoErrorCustom'))\n\t\t\t\t\t\t\t\t\t\tform.querySelector('.mktoErrorCustom').remove();\n\t\t\t\t\t\t\t\t\tenableSubmit();\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t.catch(error => console.error('Error loading list:', error));\n\n\t\t\t\t\t\t}, 500);\n\t\t\t\t\t}\n\t\t\t\t\t\n\n\t\t\t\t\tfunction onFormSubmitFunction($form) {\n\t\t\t\t\t\t\/\/console.log('onFormSubmit function');\n\t\t\t\t\t\t\/\/ if ($form.attr('id') === 'hsForm_248b0270-bbfd-4f66-84b5-4a14e81881da') {\n\t\t\t\t\t\t\/\/ \t\/\/console.log(\"248b0270-bbfd-4f66-84b5-4a14e81881da form submit function\");\n\t\t\t\t\t\t\/\/ }\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction onFormSuccessFunction($form, data) {\n\t\t\t\t\t\tif (gatedContentType === 'contentReveal') {\n\t\t\t\t\t\t\tif (localStorage.getItem('hasSubmittedForm') !== 'true') {\n\t\t\t\t\t\t\t\trevealGatedContent();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (gatedContentType === 'popupVideo' || gatedContentType === 'heroCTAPopupVideo') {\n\t\t\t\t\t\t\trevealPopupVideo($form);\n\t\t\t\t\t\t} else if (gatedContentType === 'popupPdf') {\n\t\t\t\t\t\t\trevealPopupPdf($form);\n\t\t\t\t\t\t} else if (gatedContentType === 'footerCTAPopupVideo') {\n\t\t\t\t\t\t\trevealFooterPopupVideo()\n\t\t\t\t\t\t} else if (gatedContentType === 'innerGate') {\n\t\t\t\t\t\t\trevealInnerGate($form);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/\/ GTM add event trigger here\n\t\t\t\t\t\twindow.dataLayer = window.dataLayer || []\n\t\t\t\t\t\twindow.dataLayer.push({\n\t\t\t\t\t\t\t'event': 'form_submit',\n\t\t\t\t\t\t\t'lastAsset': 'Local SEO Guide ',\n\t\t\t\t\t\t\t'formSubmittedPage': window.location.href,\n\t\t\t\t\t\t\t'salesforceCampaignID': 'Local SEO Guide: How to Get to the Top of Search Results',\n\t\t\t\t\t\t\t'formType': 'gated',\n\t\t\t\t\t\t\t'gatedContentType': gatedContentType\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tlocalStorage.setItem('hasSubmittedForm', 'true');\n\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\tfunction revealInnerGate($form) {\n\t\t\t\t\t\tif ($form[0].closest('.block-im-quiz')) {\n\t\t\t\t\t\t\t$form[0].closest('.hs-form-sticky-wrap').classList.add('hidden');\n\t\t\t\t\t\t\t$form[0].closest('.block-im-quiz').querySelector('.im-quiz-finish-screen').classList.remove('hidden');\n\t\t\t\t\t\t\t$form[0].closest('.block-im-quiz').querySelector('.quiz-inner').classList.remove('hidden');\n\t\t\t\t\t\t\t$form[0].closest('.block-im-quiz').querySelector('.restart').style.display = 'inline-block';\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction revealGatedContent() {\n\t\t\t\t\t\t\/\/console.log('content has been revealed');\n\t\t\t\t\t\tdocument.body.classList.remove('gated-lock-screen');\n\t\t\t\t\t\tdocument.documentElement.classList.remove('gated-lock-screen');\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction revealPopupPdf($form) {\n\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.submitted-message-custom').classList.remove('hidden');\n\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.submitted-message').classList.add('hidden');\n\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.hs-form-title').classList.add('hidden');\n\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.more-content').classList.add('hidden');\n\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.submitted-message-custom .header-cta-button').click();\n\t\t\t\t\t\t}, 3000);\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction revealPopupVideo($form) {\n\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.play-btn.modal-trigger.form-to-video').click();\n\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.form-to-video-wrapper').classList.remove('hidden');\n\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.submitted-message').classList.add('hidden');\n\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').querySelector('.hs-form-title').classList.add('hidden');\n\t\t\t\t\t\t$form[0].closest('.block-hubspot-form').classList.add('to-video');\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction revealFooterPopupVideo() {\n\t\t\t\t\t\tdocument.querySelector('.play-btn.modal-trigger.form-to-video.footer-cta').click();\n\t\t\t\t\t\tdocument.querySelector('.form-to-video-wrapper.footer-cta').classList.remove('hidden');\n\t\t\t\t\t\tdocument.querySelector('.hs-form-title.footer-cta').classList.add('hidden');\n\t\t\t\t\t\tdocument.querySelector('.hs-form-sticky-wrap.footer-cta-popup-video .block-hubspot-form').classList.add('to-video');\n\t\t\t\t\t\tvar submittedMessages = document.querySelectorAll('.submitted-message');\n\t\t\t\t\t\tsubmittedMessages.forEach(function(submittedMessage) {\n\t\t\t\t\t\t\tsubmittedMessage.classList.add('hidden');\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tfunction gotoScorecard(data) {\n\n\t\t\t\t\t\tvar baseURL = '';\n\t\t\t\t\t\tvar thankYouURLParams = [];\n\t\t\t\t\t\tthankYouURLParams['first_name'] = data.submissionValues.firstname ? data.submissionValues.firstname : '';\n\t\t\t\t\t\tthankYouURLParams['last_name'] = data.submissionValues.lastname ? data.submissionValues.lastname : '';\n\t\t\t\t\t\tthankYouURLParams['email'] = data.submissionValues.email ? data.submissionValues.email : '';\n\t\t\t\t\t\tthankYouURLParams['phone_number'] = data.submissionValues.phone ? data.submissionValues.phone : '5555555555';\n\n\t\t\t\t\t\tthankYouURLParams = Object.entries(thankYouURLParams);\n\t\t\t\t\t\tvar queryString = thankYouURLParams.map(([key, value]) =>\n\t\t\t\t\t\t\t`${encodeURIComponent(key)}=${encodeURIComponent(value)}`).join('&');\n\n\n\t\t\t\t\t\tvar finalThankyouURL = `${baseURL}?${queryString}&suppress_fields`;\n\n\t\t\t\t\t\twindow.open(finalThankyouURL, '_blank');\n\n\t\t\t\t\t}\n\t\t\t\t\t\/\/ Returns the redirect URL needed for the Hubspot form\n\t\t\t\t\tfunction generateThankYouURL(customURL, formType, gatedContentType, gatedAsset, $form) {\n\t\t\t\t\t\t\/\/ Check if custom Thank You URL is needed\n\t\t\t\t\t\tif (!customURL) {\n\t\t\t\t\t\t\tvar baseURL =\n\t\t\t\t\t\t\t\t'https:\/\/inmoment.com\/en-gb\/thank-you\/?';\n\t\t\t\t\t\t\tvar thankYouURLParams = [];\n\n\t\t\t\t\t\t\tif (formType === 'gated') {\n\t\t\t\t\t\t\t\tif (gatedContentType === 'pdf') {\n\t\t\t\t\t\t\t\t\tthankYouURLParams['type'] = 'asset';\n\t\t\t\t\t\t\t\t\t\/\/ Gated content needs to be attachment URL\n\t\t\t\t\t\t\t\t\tthankYouURLParams['asset'] = gatedAsset;\n\t\t\t\t\t\t\t\t} else if (gatedContentType === 'video') {\n\t\t\t\t\t\t\t\t\tthankYouURLParams['type'] = 'video';\n\t\t\t\t\t\t\t\t\t\/\/ Gated content needs to be attachment URL\n\t\t\t\t\t\t\t\t\tthankYouURLParams['asset'] = gatedAsset;\n\t\t\t\t\t\t\t\t} else if (gatedContentType === 'popupVideo') {\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t} else if (gatedContentType === 'contentReveal') {\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t} else if (gatedContentType === 'heroCTAPopupVideo') {\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t} else if (gatedContentType === 'footerCTAPopupVideo') {\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t} else if (gatedContentType === 'popupPdf') {\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t} else if (gatedContentType === 'innerGate') {\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\/\/console.log('gatedAsset -> ', gatedAsset);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (formType === 'demo') {\n\t\t\t\t\t\t\t\tthankYouURLParams['type'] = 'contact';\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (formType === 'contact') {\n\t\t\t\t\t\t\t\tthankYouURLParams['type'] = 'contact';\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (formType === 'event') {\n\t\t\t\t\t\t\t\tthankYouURLParams['type'] = 'event';\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\/\/console.log('thankYouURLParams -> ', thankYouURLParams);\n\t\t\t\t\t\t\t\/\/ Construct the query string by joining the key-value pairs\n\t\t\t\t\t\t\tthankYouURLParams = Object.entries(thankYouURLParams);\n\n\t\t\t\t\t\t\tvar queryString = thankYouURLParams.map(([key, value]) =>\n\t\t\t\t\t\t\t\t`${encodeURIComponent(key)}=${encodeURIComponent(value)}`).join('&');\n\n\t\t\t\t\t\t\t\/\/console.log('queryString -> ', queryString);\n\t\t\t\t\t\t\t\/\/ Combine the base URL with the query string\n\t\t\t\t\t\t\tvar finalThankyouURL = `${baseURL}${queryString}`;\n\n\t\t\t\t\t\t\t\/\/console.log('finalThankyouURL -> ', finalThankyouURL);\n\t\t\t\t\t\t\treturn finalThankyouURL;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\/\/console.log('customURL -> ', customURL);\n\t\t\t\t\t\t\treturn customURL;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tif (document.querySelector('#hubspot-form-69d12c1a3026d')) {\n\t\t\t\t\t\t\t\t\tvar observer = new IntersectionObserver(function(el) {\n\t\t\t\t\t\t\t\t\t\t\tel = el[0] ? el[0] : el;\n\t\t\t\t\t\t\t\t\t\t\tif (el.isIntersecting) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t\tfunction mktoFormLoaded(form) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar formEl = form.getFormElem();\n\t\t\t\t\t\t\tconsole.log('mktoform', form, formEl[0].querySelector(\"style\"))\n\t\t\t\t\t\t\t\/\/MktoForms2.whenReady(function() {onFormReadyFunction(formEl)});\n\t\t\t\t\t\t\tdocument.getElementById('mktoForms2BaseStyle').remove();\n\t\t\t\t\t\t\tdocument.getElementById('mktoForms2ThemeStyle').remove();\n\t\t\t\t\t\t\tformEl[0].querySelector(\"style\").remove();\n\t\t\t\t\t\t\tconsole.log(formEl[0].querySelector(\"style\"))\n\n\t\t\t\t\t\t\tonFormReadyFunction(formEl);\n\n\t\t\t\t\t\t\tformEl[0].querySelector('[type=\"submit\"]').innerText = 'Download';\n\n\n\t\t\t\t\t\t\tif(formEl[0].closest('.block-hubspot-form').querySelector('.skeleton-loader'))\n\t\t\t\t\t\t\t\tformEl[0].closest('.block-hubspot-form').querySelector('.skeleton-loader').style.display = 'none';\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\tform.onSubmit(function() {onFormSubmitFunction(formEl)});\n\t\t\t\t\t\t\tform.onSuccess(function() {\n\t\t\t\t\t\t\t\tonFormSuccessFunction(formEl);\n\t\t\t\t\t\t\t\twindow.location.assign(generateThankYouURL('',\n\t\t\t\t\t\t\t\t\t'gated', 'pdf',\n\t\t\t\t\t\t\t\t\t'68647'));\n\n\t\t\t\t\t\t\t\treturn false;\n\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\/\/onFormSubmitFunction($form);\n\t\t\t\t\t\t\t\/\/onFormSuccessFunction($form, data);\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(document.getElementById('mktoForm_2179') && !document.getElementById('mktoForm_2179' ).innerHTML.trim())\n\t\t\t\t\t\t\t\tMktoForms2.loadForm(\"\/\/go.forsta.com\", \"972-OEC-621\", 2179, mktoFormLoaded);\n\n\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ Main hubspot code\n\t\t\t\t\t\thbspt.forms.create({\n\t\t\t\t\t\t\tregion: \"na1\",\n\t\t\t\t\t\t\tportalId: \"1787915\",\n\t\t\t\t\t\t\tlocale: \"en\",\n\t\t\t\t\t\t\ttarget: \"#hubspot-form-69d12c1a3026d .form_target\",\n\t\t\t\t\t\t\tcss: '',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tredirectUrl: generateThankYouURL('',\n\t\t\t\t\t\t\t\t\t'gated', 'pdf',\n\t\t\t\t\t\t\t\t\t'68647'),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tformId: \"248b0270-bbfd-4f66-84b5-4a14e81881da\",\n\t\t\t\t\t\t\tmanuallyBlockedEmailDomain: [\"mailinator.com\",\"mailor.com\",\"yahoi.co.uk\",\"art.suez.edu.eg\",\"eol.com\",\"info.com\",\"weizixu.com\",\"naymedia.com\",\"compny.com\",\"linator.com\",\"edu.com\",\"mailinaor.com\",\"sportrid.comm\",\"tufufacenurimyv.com\",\"eeeqwe2.com\",\"armyspy.com\",\"info.net\",\"hinoon.com\",\"ainator.com\",\"busniess.com\",\"GMAIL1.com\",\"alright.com\",\"example.com\",\"poverts.com\",\"mailt.com\",\"apxby.com\",\"gmail.com\",\"yahoo.com\",\"hotmail.com\",\"live.com\",\"aol.com\",\"outlook.com\",\"qq.com\",\"comcast.com\",\"icloud.com\",\"ctpagent.com\",\"wesolvecx.com\",\"getthematic.com\",\"merkle.com\",\"getlocalmeasure.com\",\"localmeasure.com\",\"asknicely.com\",\"nielseniq.com\",\"momentive.com\",\"reputation.com\",\"zenloop.com\",\"eloquant.com\",\"hellocustomer.com\",\"skeepers.io\",\"yabble.com\",\"resonate.com.au\",\"smg.com\",\"altointelligence.co.uk\",\"altointelligence.com\",\"auracorp.com\",\"bareinternational.com\",\"bestmark.com\",\"blauw.com\",\"clarabridge.com\",\"concentrix.com\",\"concur.com\",\"confirmit.com\",\"copytimize.com\",\"critizr.com\",\"crowdicity.com\",\"customerradar.com\",\"customersat.com\",\"gallup.com\",\"getfeedback.com\",\"gfk.com\",\"globis-consulting.de\",\"glowfeed.com\",\"insync.com.au\",\"intervista.ch\",\"iperceptions.com\",\"jacada.com\",\"ka-brandresearch.com\",\"kantar.com\",\"kantartns.com\",\"kunden-insights.de\",\"link.ch\",\"livinglens.tv\",\"Loyalty360.org\",\"management-consult.de\",\"medallia.com\",\"morpace.com\",\"nice.com\",\"niceincontact.com\",\"op2ma.com.au\",\"opinionlab.com\",\"oracle.com\",\"pangealabs.com\",\"pidas.com\",\"potentiate.com\",\"quadient.com\",\"qualtrics.com\",\"questback.com\",\"rateitapp.com\",\"rateitapp.com.au\",\"responsetek.com\",\"rightnow.com\",\"salesforce.com\",\"sap.com\",\"satmetrix.com\",\"slmedien.de\",\"smg.com\",\"sphanalytics.com\",\"stellarbpo.com\",\"stellarxm.com\",\"strikedeck.com\",\"surveygizmo.com\",\"surveymonkey.com\",\"tele-research.de\",\"themsrgroup.com\",\"tns-global.com\",\"tns-infratest.com\",\"tnsglobal.com\",\"touchpointgroup.com\",\"ttr-group.de\",\"united-research.com\",\"usabilla.com\",\"verint.com\",\"vovici.com\",\"walkerinfo.com\",\"zendesk.com\",\"zingle.com\"],\n\n\t\t\t\t\t\t\t\t\t\t\t\t\/\/ Arbitrary in case there are two of same form on page\n\t\t\t\t\t\t\t\t\t\t\t\tformInstanceId: \"hubspot-form-69d12c1a3026d\",\n\n\n\n\t\t\t\t\t\t\t\t\t\t\t\tonFormReady: function($form) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tonFormReadyFunction($form);\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\tonBeforeFormSubmit: function($form) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tonBeforeFormSubmitFunction($form);\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\tonFormSubmit: function($form) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tonFormSubmitFunction($form);\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\tonFormSubmitted: function($form, data) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tonFormSuccessFunction($form, data);\n\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\tsubmitText: \"Download\",\n\t\t\t\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\t\t\t observer.unobserve(el.target);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\t\t\troot: null,\n\t\t\t\t\t\t\t\t\trootMargin: '0px 0px 50% 0px',\n\t\t\t\t\t\t\t\t\tthreshold: 0.1\n\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\tvar targetElement = document.querySelector('#hubspot-form-69d12c1a3026d'); observer.observe(targetElement.parentElement);\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t}) \/\/ on hs script loaded\n\t\t\t<\/script>\n\n\n\t\t\t\n\n\t\t\t\n\n\n\t\t\t\t\t\t\t\t\t\t\t\t<form id=\"mktoForm_2179\" ><\/form>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t<\/div>\n\n\t<\/div>\n","protected":false},"featured_media":0,"template":"template-lp.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-70598","lp","type-lp","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/inmoment.com\/en-gb\/wp-json\/wp\/v2\/lp\/70598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inmoment.com\/en-gb\/wp-json\/wp\/v2\/lp"}],"about":[{"href":"https:\/\/inmoment.com\/en-gb\/wp-json\/wp\/v2\/types\/lp"}],"version-history":[{"count":0,"href":"https:\/\/inmoment.com\/en-gb\/wp-json\/wp\/v2\/lp\/70598\/revisions"}],"wp:attachment":[{"href":"https:\/\/inmoment.com\/en-gb\/wp-json\/wp\/v2\/media?parent=70598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}