{"context":{"brandSettings":{"accentColor1":{"hex":"#fafafa"},"accentColor2":{"hex":"#dae2f9"},"accentColor3":null,"bodyFont":null,"colors":[{"hex":"#1a1a1a"},{"hex":"#838383"},{"hex":"#fafafa"},{"hex":"#dae2f9"}],"fallbackFont":null,"favicon":{"domain":null,"name":"favicon.ico","src":"https://7791772.fs1.hubspotusercontent-na1.net/hubfs/7791772/Logo%202023/Bug/userful-bug-light.svg"},"favicons":[{"domain":null,"name":"favicon.ico","src":"https://7791772.fs1.hubspotusercontent-na1.net/hubfs/7791772/Logo%202023/Bug/userful-bug-light.svg"}],"fonts":[],"logo":{"alt":"Userful Corporation","domain":null,"height":55,"link":null,"name":"Userful Logo","src":"https://7791772.fs1.hubspotusercontent-na1.net/hubfs/7791772/userful-primary-dark-tagline.png","width":100},"logos":[{"alt":"Userful Corporation","domain":null,"height":55,"link":null,"name":"Userful Logo","src":"https://7791772.fs1.hubspotusercontent-na1.net/hubfs/7791772/userful-primary-dark-tagline.png","width":100}],"primaryColor":{"hex":"#1a1a1a"},"primaryFavicon":{"domain":null,"name":"favicon.ico","src":"https://7791772.fs1.hubspotusercontent-na1.net/hubfs/7791772/Logo%202023/Bug/userful-bug-light.svg"},"primaryFont":null,"primaryLogo":{"alt":"Userful Corporation","domain":null,"height":55,"link":null,"name":"Userful Logo","src":"https://7791772.fs1.hubspotusercontent-na1.net/hubfs/7791772/userful-primary-dark-tagline.png","width":100},"secondaryColor":{"hex":"#838383"}},"menuData":{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":"Tickets","level":1,"linkTarget":null,"live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":"https://portal.userful.com/tickets-view","urlParamStr":"","urlWithoutAnchor":"https://portal.userful.com/tickets-view"},{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":"Sign out","level":1,"linkTarget":null,"live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":"https://portal.userful.com/_hcms/mem/logout","urlParamStr":"","urlWithoutAnchor":"https://portal.userful.com/_hcms/mem/logout"},{"activeBranch":false,"activeNode":false,"blogNode":false,"categoryId":null,"children":[],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":"Knowledge Base ","level":1,"linkTarget":null,"live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":"https://docs.userful.com/support-portal/","urlParamStr":"","urlWithoutAnchor":"https://docs.userful.com/support-portal/"}],"contentGroupId":null,"contentType":null,"errorMessage":null,"guid":null,"isDeleted":false,"isNonLinkingNode":false,"isPublished":true,"label":null,"level":0,"linkTarget":null,"live":true,"nodeType":3,"pageId":null,"pageTitle":null,"parentGuid":null,"slug":null,"state":null,"subcategory":null,"topLevelAncestorGuid":null,"url":null,"urlParamStr":"","urlWithoutAnchor":"null"},"themeSettings":{"bodyFont":{"casing":null,"color":null,"css":"","fallback":null,"font":null,"font_set":"DEFAULT","letter_spacing":null,"line_height":null,"size":null,"size_unit":null,"style":null,"styles":null,"variant":null},"primaryFont":{"casing":null,"color":null,"css":"","fallback":null,"font":null,"font_set":"DEFAULT","letter_spacing":null,"line_height":null,"size":null,"size_unit":null,"style":null,"styles":null,"variant":null},"trellisBorderRadius":"rounded","trellisColorFillPrimaryDefault":{"color":"#1a1a1a","css":"#1a1a1a","hex":"#1a1a1a","opacity":null,"rgb":"rgb(26, 26, 26)","rgba":"rgba(26, 26, 26, 1)"},"trellisColorFillSecondaryDefault":{"color":"#838383","css":"#838383","hex":"#838383","opacity":null,"rgb":"rgb(131, 131, 131)","rgba":"rgba(131, 131, 131, 1)"},"trellisColorFillSurfaceDefault":"light","trellisColorFillTertiaryDefault":{"color":"#fafafa","css":"#fafafa","hex":"#fafafa","opacity":null,"rgb":"rgb(250, 250, 250)","rgba":"rgba(250, 250, 250, 1)"},"trellisColorTextInteractiveDefault":{"color":"#666666","css":"#666666","hex":"#666666","opacity":null,"rgb":"rgb(102, 102, 102)","rgba":"rgba(102, 102, 102, 1)"}},"companyName":"Userful Corporation"},"modules":{},"dndAreas":{},"globalPartials":{},"headHtml":"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> \n<meta property=\"og:description\" content=\"\"> \n<meta property=\"og:title\" content=\"\"> \n<meta name=\"twitter:description\" content=\"\"> \n<meta name=\"twitter:title\" content=\"\"> \n<style>\na.cta_button{-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important;box-sizing:content-box !important;vertical-align:middle}.hs-breadcrumb-menu{list-style-type:none;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px}.hs-breadcrumb-menu-item{float:left;padding:10px 0px 10px 10px}.hs-breadcrumb-menu-divider:before{content:'›';padding-left:10px}.hs-featured-image-link{border:0}.hs-featured-image{float:right;margin:0 0 20px 20px;max-width:50%}@media (max-width: 568px){.hs-featured-image{float:none;margin:0;width:100%;max-width:100%}}.hs-screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}\n</style> \n<!--  Added by GoogleAnalytics integration --> \n<script data-cookieconsent=\"ignore\">\nvar _hsp = window._hsp = window._hsp || [];\n_hsp.push(['addPrivacyConsentListener', function(consent) { if (consent.allowed || (consent.categories && consent.categories.analytics)) {\n  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n  ga('create','UA-73042646-1','auto');\n  ga('send','pageview');\n}}]);\n</script> \n<!-- /Added by GoogleAnalytics integration --> \n<!--  Added by GoogleAnalytics4 integration --> \n<script data-cookieconsent=\"ignore\">\nvar _hsp = window._hsp = window._hsp || [];\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\n\nvar useGoogleConsentModeV2 = true;\nvar waitForUpdateMillis = 1000;\n\n\nif (!window._hsGoogleConsentRunOnce) {\n  window._hsGoogleConsentRunOnce = true;\n\n  gtag('consent', 'default', {\n    'ad_storage': 'denied',\n    'analytics_storage': 'denied',\n    'ad_user_data': 'denied',\n    'ad_personalization': 'denied',\n    'wait_for_update': waitForUpdateMillis\n  });\n\n  if (useGoogleConsentModeV2) {\n    _hsp.push(['useGoogleConsentModeV2'])\n  } else {\n    _hsp.push(['addPrivacyConsentListener', function(consent){\n      var hasAnalyticsConsent = consent && (consent.allowed || (consent.categories && consent.categories.analytics));\n      var hasAdsConsent = consent && (consent.allowed || (consent.categories && consent.categories.advertisement));\n\n      gtag('consent', 'update', {\n        'ad_storage': hasAdsConsent ? 'granted' : 'denied',\n        'analytics_storage': hasAnalyticsConsent ? 'granted' : 'denied',\n        'ad_user_data': hasAdsConsent ? 'granted' : 'denied',\n        'ad_personalization': hasAdsConsent ? 'granted' : 'denied'\n      });\n    }]);\n  }\n}\n\ngtag('js', new Date());\ngtag('set', 'developer_id.dZTQ1Zm', true);\ngtag('config', 'G-CEWN4E4TR9');\n</script> \n<script data-cookieconsent=\"ignore\" async src=\"https://www.googletagmanager.com/gtag/js?id=G-CEWN4E4TR9\"></script> \n<!-- /Added by GoogleAnalytics4 integration --> \n<!--  Added by GoogleTagManager integration --> \n<script data-cookieconsent=\"ignore\">\nvar _hsp = window._hsp = window._hsp || [];\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\n\nvar useGoogleConsentModeV2 = true;\nvar waitForUpdateMillis = 1000;\n\nif (useGoogleConsentModeV2) {\n\n  gtag('set','developer_id.dZTQ1Zm',true);\n\n  gtag('consent', 'default', {\n  'ad_storage': 'denied',\n  'analytics_storage': 'denied',\n  'ad_user_data': 'denied',\n  'ad_personalization': 'denied',\n  'wait_for_update': waitForUpdateMillis\n  });\n}\n\nvar hsLoadGtm = function loadGtm() {\n    if(window._hsGtmLoadOnce) {\n      return;\n    }\n\n    if (useGoogleConsentModeV2) {\n      _hsp.push(['useGoogleConsentModeV2'])\n    }\n\n    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n    })(window,document,'script','dataLayer','GTM-NNZXQH4');\n\n    window._hsGtmLoadOnce = true;\n};\n\n_hsp.push(['addPrivacyConsentListener', function(consent){\n  if(consent.allowed || (consent.categories && consent.categories.analytics)){\n    hsLoadGtm();\n  }\n}]);\n\n</script> \n<!-- /Added by GoogleTagManager integration --> \n<link rel=\"canonical\" href=\"https://portal.userful.com/hs/portals/customer-portal-app/brand\"> \n<!-- Google tag (gtag.js) --> \n<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-CEWN4E4TR9\"></script> \n<script>\n  window.dataLayer = window.dataLayer || [];\n  function gtag(){dataLayer.push(arguments);}\n  gtag('js', new Date());\n\n  gtag('config', 'G-CEWN4E4TR9');\n</script> \n<!-- Vidyard Video Player --> \n<script src=\"https://play.vidyard.com/embed/v4.js\" defer></script> \n<!-- Weglot Website Translation --> \n<link rel=\"alternate\" hreflang=\"en\" href=\"https://www.userful.com\"> \n<link rel=\"alternate\" hreflang=\"fr\" href=\"https://fr.userful.com\"> \n<link rel=\"alternate\" hreflang=\"ar\" href=\"https://ar.userful.com\"> \n<link rel=\"alternate\" hreflang=\"de\" href=\"https://de.userful.com\"> \n<link rel=\"alternate\" hreflang=\"it\" href=\"https://it.userful.com\"> \n<link rel=\"alternate\" hreflang=\"es\" href=\"https://es.userful.com\"> \n<link rel=\"alternate\" hreflang=\"br\" href=\"https://pt-br.userful.com\"> \n<link rel=\"alternate\" hreflang=\"zh\" href=\"https://zh.userful.com\"> \n<!--<link rel=\"alternate\" hreflang=\"pt-br\" href=\"https://pt-br.userful.com\">--> \n<!-- Google Tag Manager --> \n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-NNZXQH4');</script> \n<!-- End Google Tag Manager --> \n<!-- ChatGPT Ads --> \n<script>!function(w,d,s,u){if(w.oaiq)return;var q=function(){q.q.push(arguments)};q.q=[];w.oaiq=q;var j=d.createElement(s);j.async=1;j.src=u;var f=d.getElementsByTagName(s)[0];f.parentNode.insertBefore(j,f)}(window,document,\"script\",\"https://bzrcdn.openai.com/sdk/oaiq.min.js\");oaiq(\"init\",{pixelId:\"QMSsCuaVSQnZm5VTLhpnBv\",debug:true});</script> \n<!-- End ChatGPT Ads --> \n<!--Microsoft Clarity--> \n<script type=\"text/javascript\">\n    (function(c,l,a,r,i,t,y){\n        c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};\n        t=l.createElement(r);t.async=1;t.src=\"https://www.clarity.ms/tag/\"+i;\n        y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);\n    })(window, document, \"clarity\", \"script\", \"pf07n8hjib\");\n</script> \n<!--End Microsoft Clarity--> \n<!--For form submission tracking --> \n<script>\n  window.dataLayer = window.dataLayer || [];\n  window.dataLayer.push({\n    'event':'form_complete',\n    'enhanced_conversion_data': {\n      \"email\": \"sadadastfgnf@gmail.com\",\n      \"phone_number\": \"+44 20 3611 1111\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"home_address\": {\n        \"street\": \"123 New Rd\",\n        \"city\": \"Southampton\",\n        \"region\": \"Hampshire\",\n        \"postal_code\": \"SO99 9XX\",\n        \"country\": \"UK\"\n      }\n    }\n  });\n</script> \n<!--For purchase tracking --> \n<script>\n  window.dataLayer = window.dataLayer || [];\n  window.dataLayer.push({\n    'event':'order_complete',\n    'order_id': '1AB2sasNN',\n    'order_value': 1249.50,\n    'order_currency': 'GBP',\n    'enhanced_conversion_data': {\n      \"email\": \"sadadastfgnf@gmail.com\",\n      \"phone_number\": \"+44 20 3611 1111\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"home_address\": {\n        \"street\": \"123 New Rd\",\n        \"city\": \"Southampton\",\n        \"region\": \"Hampshire\",\n        \"postal_code\": \"SO99 9XX\",\n        \"country\": \"UK\"\n      }\n    }\n  });\n</script> \n<!--style for landing page header--> \n<style>\n  .reDirectHomeBtn{\n    margin: 0px 0px 0px !important;\n    background: #1a1a1a;\n    padding: 25px;\n  }\n  \n  \n  /*fix color on internal resourses page btn*/\n  .hs-button, .hs-button:hover {\n    background: #1a1a1a !important;\n    border-color: #1a1a1a;\n}\n  \n  strong.dropdown-item-heading {\n    color: #1a1a1a !important;\n}\n\n</style> \n<meta property=\"og:url\" content=\"https://portal.userful.com/hs/portals/customer-portal-app/brand\"> \n<meta http-equiv=\"content-language\" content=\"en\">","footerHtml":"<!-- HubSpot performance collection script --> \n<script defer src=\"/hs/hsstatic/content-cwv-embed/static-1.1293/embed.js\"></script> \n<!-- Start of HubSpot Analytics Code --> \n<script type=\"text/javascript\">\nvar _hsq = _hsq || [];\n_hsq.push([\"setContentType\", \"app-page\"]);\n_hsq.push([\"setCanonicalUrl\", \"https:\\/\\/portal.userful.com\\/hs\\/portals\\/customer-portal-app\\/brand\"]);\n_hsq.push([\"setPageId\", \"223744676883\"]);\n_hsq.push([\"setContentMetadata\", {\n    \"contentPageId\": 223744676883,\n    \"legacyPageId\": \"223744676883\",\n    \"contentFolderId\": null,\n    \"contentGroupId\": null,\n    \"abTestId\": null,\n    \"languageVariantId\": 223744676883,\n    \"languageCode\": \"en\",\n    \n    \n}]);\n</script> \n<script type=\"text/javascript\" id=\"hs-script-loader\" async defer src=\"/hs/scriptloader/7791772.js\"></script> \n<!-- End of HubSpot Analytics Code --> \n<script type=\"text/javascript\">\nvar hsVars = {\n    render_id: \"bcd2b48a-cb38-4068-bcba-46ec883ccb9f\",\n    ticks: 1791298575560,\n    page_id: 223744676883,\n    \n    content_group_id: 0,\n    portal_id: 7791772,\n    app_hs_base_url: \"https://app.hubspot.com\",\n    cp_hs_base_url: \"https://cp.hubspot.com\",\n    language: \"en\",\n    analytics_page_type: \"app-page\",\n    scp_content_type: \"\",\n    \n    analytics_page_id: \"223744676883\",\n    category_id: 20,\n    folder_id: 0,\n    is_hubspot_user: false\n}\n</script> \n<script defer src=\"/hs/hsstatic/HubspotToolsMenu/static-1.640/js/index.js\"></script> \n<script type=\"text/javascript\" src=\"https://cdn.weglot.com/weglot.min.js\" integrity=\"sha384-d+qKE+FVp+m2zoQqjkzO0wZstiZiYDlsDyzRlIZftJn1ECj+WpSPvCxVes7fpiAV\" crossorigin=\"anonymous\"></script> \n<script>\n    Weglot.initialize({\n        api_key: 'wg_bc825efaff71b33da02ea3c89b64f5fc4'\n    });\n</script> \n<style>\n  img {height: auto;}\n</style> \n<!-- Google Tag Manager (noscript) --> \n<noscript>\n <iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NNZXQH4\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>\n</noscript> \n<!-- End Google Tag Manager (noscript) --> \n<!-- ChatGPT Ads tracking form submissions --> \n<script>\n// Helper function to create a SHA-256 hash required by OpenAI\nasync function sha256(message) {\n  if (!message) return null;\n  // Normalize: Trim whitespace and force lowercase\n  const msgBuffer = new TextEncoder().encode(message.trim().toLowerCase());\n  const hashBuffer = await crypto.subtle.digest('SHA-256', msgBuffer);\n  const hashArray = Array.from(new Uint8Array(hashBuffer));\n  return hashArray.map(b => b.toString(16).padStart(2, '0')).join('');\n}\n\n// 1. INITIALIZE PIXEL ONCE AT PAGE LOAD\noaiq(\"init\", {\n  pixelId: \"QMSsCuaVSQnZm5VTLhpnBv\"\n});\n\n// 2. GLOBAL TRACKING EVENTS\noaiq(\"measure\", \"page_viewed\", { type: \"contents\" });\noaiq(\"measure\", \"contents_viewed\", { type: \"contents\" });\n\n// 3. HUBSPOT FORM SUBMISSION TRACKING\nwindow.addEventListener(\"message\", async function (event) {\n  if (\n    event.data &&\n    event.data.type === \"hsFormCallback\" &&\n    event.data.eventName === \"onFormSubmitted\"\n  ) {\n    // Safely extract email across common HubSpot payload formats\n    const payload = event.data.data || event.data;\n    let rawEmail = null;\n\n    if (Array.isArray(payload.submissionValues)) {\n      const emailField = payload.submissionValues.find(f => f.name === 'email');\n      rawEmail = emailField ? emailField.value : null;\n    } else if (payload.submissionValues && payload.submissionValues.email) {\n      rawEmail = payload.submissionValues.email;\n    }\n\n    // Build the event payload\n    const eventParams = { type: \"customer_action\" };\n\n    if (rawEmail) {\n      const hashedEmail = await sha256(rawEmail);\n      // Pass the user object directly inside the event payload\n      eventParams.user = {\n        email_sha256: hashedEmail\n      };\n    }\n\n    // Measure conversion events with hashed user data attached\n    oaiq(\"measure\", \"appointment_scheduled\", eventParams);\n    oaiq(\"measure\", \"registration_completed\", eventParams);\n  }\n});\n</script> \n<!-- End ChatGPT Ads -->","headElements":[{"tag":"meta","attributes":{"name":"viewport","content":"width=device-width, initial-scale=1"}},{"tag":"meta","attributes":{"property":"og:description","content":""}},{"tag":"meta","attributes":{"property":"og:title","content":""}},{"tag":"meta","attributes":{"name":"twitter:description","content":""}},{"tag":"meta","attributes":{"name":"twitter:title","content":""}},{"tag":"style","children":[{"tag":"#text","text":"a.cta_button{-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important;box-sizing:content-box !important;vertical-align:middle}.hs-breadcrumb-menu{list-style-type:none;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px}.hs-breadcrumb-menu-item{float:left;padding:10px 0px 10px 10px}.hs-breadcrumb-menu-divider:before{content:'›';padding-left:10px}.hs-featured-image-link{border:0}.hs-featured-image{float:right;margin:0 0 20px 20px;max-width:50%}@media (max-width: 568px){.hs-featured-image{float:none;margin:0;width:100%;max-width:100%}}.hs-screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}"}]},{"tag":"script","children":[{"tag":"#text","text":"var _hsp = window._hsp = window._hsp || [];\n_hsp.push(['addPrivacyConsentListener', function(consent) { if (consent.allowed || (consent.categories && consent.categories.analytics)) {\n  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n  ga('create','UA-73042646-1','auto');\n  ga('send','pageview');\n}}]);"}],"attributes":{"data-cookieconsent":"ignore"}},{"tag":"script","children":[{"tag":"#text","text":"var _hsp = window._hsp = window._hsp || [];\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\n\nvar useGoogleConsentModeV2 = true;\nvar waitForUpdateMillis = 1000;\n\n\nif (!window._hsGoogleConsentRunOnce) {\n  window._hsGoogleConsentRunOnce = true;\n\n  gtag('consent', 'default', {\n    'ad_storage': 'denied',\n    'analytics_storage': 'denied',\n    'ad_user_data': 'denied',\n    'ad_personalization': 'denied',\n    'wait_for_update': waitForUpdateMillis\n  });\n\n  if (useGoogleConsentModeV2) {\n    _hsp.push(['useGoogleConsentModeV2'])\n  } else {\n    _hsp.push(['addPrivacyConsentListener', function(consent){\n      var hasAnalyticsConsent = consent && (consent.allowed || (consent.categories && consent.categories.analytics));\n      var hasAdsConsent = consent && (consent.allowed || (consent.categories && consent.categories.advertisement));\n\n      gtag('consent', 'update', {\n        'ad_storage': hasAdsConsent ? 'granted' : 'denied',\n        'analytics_storage': hasAnalyticsConsent ? 'granted' : 'denied',\n        'ad_user_data': hasAdsConsent ? 'granted' : 'denied',\n        'ad_personalization': hasAdsConsent ? 'granted' : 'denied'\n      });\n    }]);\n  }\n}\n\ngtag('js', new Date());\ngtag('set', 'developer_id.dZTQ1Zm', true);\ngtag('config', 'G-CEWN4E4TR9');"}],"attributes":{"data-cookieconsent":"ignore"}},{"tag":"script","attributes":{"async":"","src":"https://www.googletagmanager.com/gtag/js?id=G-CEWN4E4TR9","data-cookieconsent":"ignore"}},{"tag":"script","children":[{"tag":"#text","text":"var _hsp = window._hsp = window._hsp || [];\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\n\nvar useGoogleConsentModeV2 = true;\nvar waitForUpdateMillis = 1000;\n\nif (useGoogleConsentModeV2) {\n\n  gtag('set','developer_id.dZTQ1Zm',true);\n\n  gtag('consent', 'default', {\n  'ad_storage': 'denied',\n  'analytics_storage': 'denied',\n  'ad_user_data': 'denied',\n  'ad_personalization': 'denied',\n  'wait_for_update': waitForUpdateMillis\n  });\n}\n\nvar hsLoadGtm = function loadGtm() {\n    if(window._hsGtmLoadOnce) {\n      return;\n    }\n\n    if (useGoogleConsentModeV2) {\n      _hsp.push(['useGoogleConsentModeV2'])\n    }\n\n    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n    })(window,document,'script','dataLayer','GTM-NNZXQH4');\n\n    window._hsGtmLoadOnce = true;\n};\n\n_hsp.push(['addPrivacyConsentListener', function(consent){\n  if(consent.allowed || (consent.categories && consent.categories.analytics)){\n    hsLoadGtm();\n  }\n}]);"}],"attributes":{"data-cookieconsent":"ignore"}},{"tag":"link","attributes":{"rel":"canonical","href":"https://portal.userful.com/hs/portals/customer-portal-app/brand"}},{"tag":"script","attributes":{"async":"","src":"https://www.googletagmanager.com/gtag/js?id=G-CEWN4E4TR9"}},{"tag":"script","children":[{"tag":"#text","text":"window.dataLayer = window.dataLayer || [];\n  function gtag(){dataLayer.push(arguments);}\n  gtag('js', new Date());\n\n  gtag('config', 'G-CEWN4E4TR9');"}]},{"tag":"script","attributes":{"defer":"","src":"https://play.vidyard.com/embed/v4.js"}},{"tag":"link","attributes":{"hreflang":"en","rel":"alternate","href":"https://www.userful.com"}},{"tag":"link","attributes":{"hreflang":"fr","rel":"alternate","href":"https://fr.userful.com"}},{"tag":"link","attributes":{"hreflang":"ar","rel":"alternate","href":"https://ar.userful.com"}},{"tag":"link","attributes":{"hreflang":"de","rel":"alternate","href":"https://de.userful.com"}},{"tag":"link","attributes":{"hreflang":"it","rel":"alternate","href":"https://it.userful.com"}},{"tag":"link","attributes":{"hreflang":"es","rel":"alternate","href":"https://es.userful.com"}},{"tag":"link","attributes":{"hreflang":"br","rel":"alternate","href":"https://pt-br.userful.com"}},{"tag":"link","attributes":{"hreflang":"zh","rel":"alternate","href":"https://zh.userful.com"}},{"tag":"script","children":[{"tag":"#text","text":"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-NNZXQH4');"}]},{"tag":"script","children":[{"tag":"#text","text":"!function(w,d,s,u){if(w.oaiq)return;var q=function(){q.q.push(arguments)};q.q=[];w.oaiq=q;var j=d.createElement(s);j.async=1;j.src=u;var f=d.getElementsByTagName(s)[0];f.parentNode.insertBefore(j,f)}(window,document,\"script\",\"https://bzrcdn.openai.com/sdk/oaiq.min.js\");oaiq(\"init\",{pixelId:\"QMSsCuaVSQnZm5VTLhpnBv\",debug:true});"}]},{"tag":"script","children":[{"tag":"#text","text":"(function(c,l,a,r,i,t,y){\n        c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};\n        t=l.createElement(r);t.async=1;t.src=\"https://www.clarity.ms/tag/\"+i;\n        y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);\n    })(window, document, \"clarity\", \"script\", \"pf07n8hjib\");"}],"attributes":{"type":"text/javascript"}},{"tag":"script","children":[{"tag":"#text","text":"window.dataLayer = window.dataLayer || [];\n  window.dataLayer.push({\n    'event':'form_complete',\n    'enhanced_conversion_data': {\n      \"email\": \"sadadastfgnf@gmail.com\",\n      \"phone_number\": \"+44 20 3611 1111\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"home_address\": {\n        \"street\": \"123 New Rd\",\n        \"city\": \"Southampton\",\n        \"region\": \"Hampshire\",\n        \"postal_code\": \"SO99 9XX\",\n        \"country\": \"UK\"\n      }\n    }\n  });"}]},{"tag":"script","children":[{"tag":"#text","text":"window.dataLayer = window.dataLayer || [];\n  window.dataLayer.push({\n    'event':'order_complete',\n    'order_id': '1AB2sasNN',\n    'order_value': 1249.50,\n    'order_currency': 'GBP',\n    'enhanced_conversion_data': {\n      \"email\": \"sadadastfgnf@gmail.com\",\n      \"phone_number\": \"+44 20 3611 1111\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"home_address\": {\n        \"street\": \"123 New Rd\",\n        \"city\": \"Southampton\",\n        \"region\": \"Hampshire\",\n        \"postal_code\": \"SO99 9XX\",\n        \"country\": \"UK\"\n      }\n    }\n  });"}]},{"tag":"style","children":[{"tag":"#text","text":".reDirectHomeBtn{\n    margin: 0px 0px 0px !important;\n    background: #1a1a1a;\n    padding: 25px;\n  }\n  \n  \n  /*fix color on internal resourses page btn*/\n  .hs-button, .hs-button:hover {\n    background: #1a1a1a !important;\n    border-color: #1a1a1a;\n}\n  \n  strong.dropdown-item-heading {\n    color: #1a1a1a !important;\n}"}]},{"tag":"meta","attributes":{"property":"og:url","content":"https://portal.userful.com/hs/portals/customer-portal-app/brand"}},{"tag":"meta","attributes":{"http-equiv":"content-language","content":"en"}}],"footerElements":[{"tag":"script","attributes":{"defer":"","src":"/hs/hsstatic/content-cwv-embed/static-1.1293/embed.js"}},{"tag":"script","children":[{"tag":"#text","text":"var _hsq = _hsq || [];\n_hsq.push([\"setContentType\", \"app-page\"]);\n_hsq.push([\"setCanonicalUrl\", \"https:\\/\\/portal.userful.com\\/hs\\/portals\\/customer-portal-app\\/brand\"]);\n_hsq.push([\"setPageId\", \"223744676883\"]);\n_hsq.push([\"setContentMetadata\", {\n    \"contentPageId\": 223744676883,\n    \"legacyPageId\": \"223744676883\",\n    \"contentFolderId\": null,\n    \"contentGroupId\": null,\n    \"abTestId\": null,\n    \"languageVariantId\": 223744676883,\n    \"languageCode\": \"en\",\n    \n    \n}]);"}],"attributes":{"type":"text/javascript"}},{"tag":"script","id":"hs-script-loader","attributes":{"async":"","defer":"","src":"/hs/scriptloader/7791772.js","type":"text/javascript"}},{"tag":"script","children":[{"tag":"#text","text":"var hsVars = {\n    render_id: \"bcd2b48a-cb38-4068-bcba-46ec883ccb9f\",\n    ticks: 1791298575560,\n    page_id: 223744676883,\n    \n    content_group_id: 0,\n    portal_id: 7791772,\n    app_hs_base_url: \"https://app.hubspot.com\",\n    cp_hs_base_url: \"https://cp.hubspot.com\",\n    language: \"en\",\n    analytics_page_type: \"app-page\",\n    scp_content_type: \"\",\n    \n    analytics_page_id: \"223744676883\",\n    category_id: 20,\n    folder_id: 0,\n    is_hubspot_user: false\n}"}],"attributes":{"type":"text/javascript"}},{"tag":"script","attributes":{"defer":"","src":"/hs/hsstatic/HubspotToolsMenu/static-1.640/js/index.js"}},{"tag":"script","attributes":{"crossorigin":"anonymous","integrity":"sha384-d+qKE+FVp+m2zoQqjkzO0wZstiZiYDlsDyzRlIZftJn1ECj+WpSPvCxVes7fpiAV","src":"https://cdn.weglot.com/weglot.min.js","type":"text/javascript"}},{"tag":"script","children":[{"tag":"#text","text":"Weglot.initialize({\n        api_key: 'wg_bc825efaff71b33da02ea3c89b64f5fc4'\n    });"}]},{"tag":"style","children":[{"tag":"#text","text":"img {height: auto;}"}]},{"tag":"noscript","children":[{"tag":"iframe","attributes":{"src":"https://www.googletagmanager.com/ns.html?id=GTM-NNZXQH4","width":"0","height":"0"},"style":{"visibility":"hidden","display":"none"}}]},{"tag":"script","children":[{"tag":"#text","text":"// Helper function to create a SHA-256 hash required by OpenAI\nasync function sha256(message) {\n  if (!message) return null;\n  // Normalize: Trim whitespace and force lowercase\n  const msgBuffer = new TextEncoder().encode(message.trim().toLowerCase());\n  const hashBuffer = await crypto.subtle.digest('SHA-256', msgBuffer);\n  const hashArray = Array.from(new Uint8Array(hashBuffer));\n  return hashArray.map(b => b.toString(16).padStart(2, '0')).join('');\n}\n\n// 1. INITIALIZE PIXEL ONCE AT PAGE LOAD\noaiq(\"init\", {\n  pixelId: \"QMSsCuaVSQnZm5VTLhpnBv\"\n});\n\n// 2. GLOBAL TRACKING EVENTS\noaiq(\"measure\", \"page_viewed\", { type: \"contents\" });\noaiq(\"measure\", \"contents_viewed\", { type: \"contents\" });\n\n// 3. HUBSPOT FORM SUBMISSION TRACKING\nwindow.addEventListener(\"message\", async function (event) {\n  if (\n    event.data &&\n    event.data.type === \"hsFormCallback\" &&\n    event.data.eventName === \"onFormSubmitted\"\n  ) {\n    // Safely extract email across common HubSpot payload formats\n    const payload = event.data.data || event.data;\n    let rawEmail = null;\n\n    if (Array.isArray(payload.submissionValues)) {\n      const emailField = payload.submissionValues.find(f => f.name === 'email');\n      rawEmail = emailField ? emailField.value : null;\n    } else if (payload.submissionValues && payload.submissionValues.email) {\n      rawEmail = payload.submissionValues.email;\n    }\n\n    // Build the event payload\n    const eventParams = { type: \"customer_action\" };\n\n    if (rawEmail) {\n      const hashedEmail = await sha256(rawEmail);\n      // Pass the user object directly inside the event payload\n      eventParams.user = {\n        email_sha256: hashedEmail\n      };\n    }\n\n    // Measure conversion events with hashed user data attached\n    oaiq(\"measure\", \"appointment_scheduled\", eventParams);\n    oaiq(\"measure\", \"registration_completed\", eventParams);\n  }\n});"}]}]}