<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HTTP Referer in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/HTTP-Referer/m-p/801329#M64501</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/576445"&gt;@joaomag&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using t&lt;SPAN&gt;he&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;Referer&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;HTTP request header&amp;nbsp;&lt;/SPAN&gt;presents some challenges. Including:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;This header is dependent on the client's web browser.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Which can cause it&amp;nbsp;not always be sent&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;some browsers and browser extensions can block or modify this header for privacy reasons&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;It's not accessible over&amp;nbsp;&lt;CODE&gt;HTTPS&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For additional context, have a look at this Stack Overflow thread — &lt;A href="https://stackoverflow.com/questions/36240145/how-to-use-serverhttp-referer-correctly-in-php/36240257#36240257" target="_blank" rel="noopener"&gt;How to use $_SERVER['HTTP_REFERER'] correctly in PHP?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/133"&gt;@stefen&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/388267"&gt;@skimura&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;, do&amp;nbsp;you have any feedback or suggestions for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/576445"&gt;@joaomag&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you! — Jaycee&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 18:10:12 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2023-05-31T18:10:12Z</dc:date>
    <item>
      <title>HTTP Referer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/HTTP-Referer/m-p/800510#M64454</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I would like to know how to send the http referrer from a&amp;nbsp;hubspot landing page to an external website, in order to be available on the other PHP website on the&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$_SERVER['HTTP_REFERER']&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;For context,&amp;nbsp;we're building a landing page that will direct users to an external website (inside our own codebase), but we need to ensure that users are actually coming from the hubspot landing page, so we were thinking of using the HTTP referrer but it shows up blank.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Thanks for any help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 13:34:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/HTTP-Referer/m-p/800510#M64454</guid>
      <dc:creator>joaomag</dc:creator>
      <dc:date>2023-05-30T13:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Referer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/HTTP-Referer/m-p/801329#M64501</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/576445"&gt;@joaomag&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using t&lt;SPAN&gt;he&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;Referer&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;HTTP request header&amp;nbsp;&lt;/SPAN&gt;presents some challenges. Including:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;This header is dependent on the client's web browser.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Which can cause it&amp;nbsp;not always be sent&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;some browsers and browser extensions can block or modify this header for privacy reasons&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;It's not accessible over&amp;nbsp;&lt;CODE&gt;HTTPS&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For additional context, have a look at this Stack Overflow thread — &lt;A href="https://stackoverflow.com/questions/36240145/how-to-use-serverhttp-referer-correctly-in-php/36240257#36240257" target="_blank" rel="noopener"&gt;How to use $_SERVER['HTTP_REFERER'] correctly in PHP?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/133"&gt;@stefen&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/388267"&gt;@skimura&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;, do&amp;nbsp;you have any feedback or suggestions for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/576445"&gt;@joaomag&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you! — Jaycee&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 18:10:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/HTTP-Referer/m-p/801329#M64501</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-05-31T18:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Referer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/HTTP-Referer/m-p/801582#M64533</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/576445"&gt;@joaomag&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;What is the reason you need to ensure that a visitor came from the HS landing page?&lt;/P&gt;
&lt;P&gt;If it is for something simple, like displaying content etc. I would personally go for something more simple like passing an URL parameter, similar to `utm_referrer`, so the links could look something like this;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://mynothubspotwebsite.com/page?referrer=hubspot" target="_blank"&gt;https://mynothubspotwebsite.com/page?referrer=hubspot&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 07:07:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/HTTP-Referer/m-p/801582#M64533</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2023-06-01T07:07:39Z</dc:date>
    </item>
  </channel>
</rss>

