<?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 How to get the country code or country name in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/How-to-get-the-country-code-or-country-name/m-p/713116#M31118</link>
    <description>&lt;P&gt;How to get country code or name the right way.&lt;BR /&gt;we were successfully fetching the country using this&lt;BR /&gt;&lt;EM&gt;{{request.headers["cf-ipcountry"]|lower}}&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hubspot.com/t5/CMS-Development/In-Hubl-language-how-to-get-country-code-or-country-name/m-p/304139#M14383" target="_blank"&gt;Solved: HubSpot Community - In Hubl language how to get country code or country name? - HubSpot Community&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;but it's not working anymore in product i.e, after the page is published.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;is there any right way to fetch the country which will not break in future?&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 06:35:51 GMT</pubDate>
    <dc:creator>RShaik3</dc:creator>
    <dc:date>2022-11-02T06:35:51Z</dc:date>
    <item>
      <title>How to get the country code or country name</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-get-the-country-code-or-country-name/m-p/713116#M31118</link>
      <description>&lt;P&gt;How to get country code or name the right way.&lt;BR /&gt;we were successfully fetching the country using this&lt;BR /&gt;&lt;EM&gt;{{request.headers["cf-ipcountry"]|lower}}&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hubspot.com/t5/CMS-Development/In-Hubl-language-how-to-get-country-code-or-country-name/m-p/304139#M14383" target="_blank"&gt;Solved: HubSpot Community - In Hubl language how to get country code or country name? - HubSpot Community&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;but it's not working anymore in product i.e, after the page is published.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;is there any right way to fetch the country which will not break in future?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 06:35:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-get-the-country-code-or-country-name/m-p/713116#M31118</guid>
      <dc:creator>RShaik3</dc:creator>
      <dc:date>2022-11-02T06:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the country code or country name</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-get-the-country-code-or-country-name/m-p/713130#M31119</link>
      <description>&lt;P&gt;Hi RShaik3!&lt;/P&gt;&lt;P&gt;Personnaly I use:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{{ request.geoip_country|lower }}&lt;/LI-CODE&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{{ html_lang }}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthieu&lt;/P&gt;&lt;P&gt;matthieu.berard@markentive.com&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 07:45:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-get-the-country-code-or-country-name/m-p/713130#M31119</guid>
      <dc:creator>MBERARD</dc:creator>
      <dc:date>2022-11-02T07:45:20Z</dc:date>
    </item>
  </channel>
</rss>

