<?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: Pulling Localized User Agreement Pages To Show Users In-App in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248759#M21552</link>
    <description>&lt;P&gt;Thanks for clarifying, &lt;A class="mention" href="https://community.hubspot.com/u/lime_will"&gt;@lime_will&lt;/A&gt;!&lt;/P&gt;
&lt;P&gt;HubSpot's out-of-the-box solution for country localizations is the &lt;A href="https://knowledge.hubspot.com/articles/kcs_article/cos-general/how-to-set-up-smart-content-by-preferred-language" rel="nofollow noopener"&gt;smart content &lt;EM&gt;Country&lt;/EM&gt; filter&lt;/A&gt;. You can set modules to display different content based on the IP country of the visitor.&lt;/P&gt;
&lt;P&gt;With this approach, you wouldn't have to send query parameters, but IP country values aren't foolproof either. As I'm sure you know, someone on a VPN could appear as browsing from a different country than what you have on file.&lt;/P&gt;
&lt;P&gt;I understand your concern about conflating language and country. I brought that up in response to &lt;A class="mention" href="https://community.hubspot.com/u/john_wachunas"&gt;@John_Wachunas&lt;/A&gt; bringing up a &lt;CODE&gt;lang&lt;/CODE&gt; parameter. The &lt;CODE&gt;hslang&lt;/CODE&gt; parameter allows you to leverage &lt;A href="https://knowledge.hubspot.com/articles/kcs_article/cos-general/how-to-manage-multi-language-content-with-hubspots-cos" rel="nofollow noopener"&gt;translations of HubSpot pages&lt;/A&gt;, which is a bit more robust a solution than smart content, however it relates more to language than country.&lt;/P&gt;
&lt;P&gt;As a quick comparison:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Smart content was developed before page translations.&lt;/LI&gt;
&lt;LI&gt;Smart content is used to modify the content within &lt;EM&gt;modules&lt;/EM&gt; on a single page.&lt;/LI&gt;
&lt;LI&gt;In contrast, page translations are truly different pages with language-specific slugs.&lt;/LI&gt;
&lt;LI&gt;You must translate the content on translated pages yourself — HubSpot has no auto-translate feature at this time.&lt;/LI&gt;
&lt;LI&gt;Translated pages support smart content themselves, so, if you wanted, you &lt;EM&gt;could&lt;/EM&gt; have different translated pages based on the visitor's preferred language &lt;EM&gt;and&lt;/EM&gt; a layer within each translation for the IP country.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Beyond these built-in HubSpot options, you would need to implement a custom JavaScript solution to hide or display certain content based on the query string you pass.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jan 2019 17:50:27 GMT</pubDate>
    <dc:creator>IsaacTakushi</dc:creator>
    <dc:date>2019-01-03T17:50:27Z</dc:date>
    <item>
      <title>Pulling Localized User Agreement Pages To Show Users In-App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248755#M21548</link>
      <description>&lt;P&gt;Have pinged Customer Support with this issue and was directed here.&lt;/P&gt;
&lt;P&gt;We're trying to display localized (per country) User Agreements to users who download our app (we're in 15+ countries around the world).&lt;/P&gt;
&lt;P&gt;An example of our proposal is as follows:&lt;BR /&gt;
1.) Our Mobile App opens &lt;A href="http://www.webpage.com/user-agreement?country=fr" rel="nofollow noopener"&gt;www.webpage.com/user-agreement?country=fr&lt;/A&gt;&lt;BR /&gt;
2.) HubSpot pulls the France localization of that page&lt;/P&gt;
&lt;P&gt;Want to know if this proposal is doable from HubSpot, and if so, what information we need to send HubSpot via our app so that the correct page is displayed.&lt;/P&gt;
&lt;P&gt;Bonus would be if HubSpot can support a &lt;CODE&gt;lang&lt;/CODE&gt; parameter as well.&lt;/P&gt;
&lt;P&gt;Any help would be much appreciated. Thanks, and happy holidays!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2018 18:08:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248755#M21548</guid>
      <dc:creator>John_Wachunas</dc:creator>
      <dc:date>2018-12-26T18:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling Localized User Agreement Pages To Show Users In-App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248756#M21549</link>
      <description>&lt;P&gt;Welcome, &lt;A class="mention" href="https://community.hubspot.com/u/john_wachunas"&gt;@John_Wachunas&lt;/A&gt;. Happy holidays to you as well!&lt;/P&gt;
&lt;P&gt;What was the support ticket number? I'd like to see what you've covered already.&lt;/P&gt;
&lt;P&gt;If the following isn't outlined in the ticket, could you clarify exactly how you want your app to pull a page into the app. You describe the app "opening" a URL; is the app actually directing the user to their mobile browser and opening the page, or are you pulling the page's contents into your app through something like an &lt;CODE&gt;iframe&lt;/CODE&gt;?&lt;/P&gt;
&lt;P&gt;If you've already &lt;A href="https://knowledge.hubspot.com/articles/kcs_article/cos-general/how-to-manage-multi-language-content-with-hubspots-cos" rel="nofollow noopener"&gt;created translations&lt;/A&gt; of pages, you should be able to leverage the &lt;CODE&gt;hslang&lt;/CODE&gt; query parameter to navigate to or retrieve the correct page variation.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 20:29:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248756#M21549</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-12-27T20:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling Localized User Agreement Pages To Show Users In-App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248757#M21550</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/isaac_takushi"&gt;@Isaac_Takushi&lt;/A&gt;, and thank you for the quick response. We didn't get very far at all in Support, but the ticket number was &lt;SPAN class="hashtag"&gt;#2174653&lt;/SPAN&gt;. Conferring quickly with our ENG team and will answer your questions shortly.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 14:31:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248757#M21550</guid>
      <dc:creator>John_Wachunas</dc:creator>
      <dc:date>2019-01-02T14:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling Localized User Agreement Pages To Show Users In-App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248758#M21551</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/isaac_takushi"&gt;@Isaac_Takushi&lt;/A&gt; I am a colleague of &lt;A class="mention" href="https://community.hubspot.com/u/john_wachunas"&gt;@John_Wachunas&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;To answer your question, the mobile app "opening" a URL means that it will open the mobile phone's browser and load the webpage hosted at that URL. In other words:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;User opens mobile app&lt;/LI&gt;
&lt;LI&gt;Mobile app opens &lt;A href="http://www.webpage.com/user-agreement?country=fr" rel="nofollow noopener"&gt;www.webpage.com/user-agreement?country=fr&lt;/A&gt; in the browser&lt;/LI&gt;
&lt;LI&gt;DESIRED BEHAVIOR: HubSpot loads the localization for country France&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;On another note, what does the query parameter "hslang" do? We don't want to conflate country and language. There are several countries that have more than one official language, such as Canada and Belgium. We want to load content appropriate for the user's country, not for their language.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 17:25:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248758#M21551</guid>
      <dc:creator />
      <dc:date>2019-01-03T17:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling Localized User Agreement Pages To Show Users In-App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248759#M21552</link>
      <description>&lt;P&gt;Thanks for clarifying, &lt;A class="mention" href="https://community.hubspot.com/u/lime_will"&gt;@lime_will&lt;/A&gt;!&lt;/P&gt;
&lt;P&gt;HubSpot's out-of-the-box solution for country localizations is the &lt;A href="https://knowledge.hubspot.com/articles/kcs_article/cos-general/how-to-set-up-smart-content-by-preferred-language" rel="nofollow noopener"&gt;smart content &lt;EM&gt;Country&lt;/EM&gt; filter&lt;/A&gt;. You can set modules to display different content based on the IP country of the visitor.&lt;/P&gt;
&lt;P&gt;With this approach, you wouldn't have to send query parameters, but IP country values aren't foolproof either. As I'm sure you know, someone on a VPN could appear as browsing from a different country than what you have on file.&lt;/P&gt;
&lt;P&gt;I understand your concern about conflating language and country. I brought that up in response to &lt;A class="mention" href="https://community.hubspot.com/u/john_wachunas"&gt;@John_Wachunas&lt;/A&gt; bringing up a &lt;CODE&gt;lang&lt;/CODE&gt; parameter. The &lt;CODE&gt;hslang&lt;/CODE&gt; parameter allows you to leverage &lt;A href="https://knowledge.hubspot.com/articles/kcs_article/cos-general/how-to-manage-multi-language-content-with-hubspots-cos" rel="nofollow noopener"&gt;translations of HubSpot pages&lt;/A&gt;, which is a bit more robust a solution than smart content, however it relates more to language than country.&lt;/P&gt;
&lt;P&gt;As a quick comparison:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Smart content was developed before page translations.&lt;/LI&gt;
&lt;LI&gt;Smart content is used to modify the content within &lt;EM&gt;modules&lt;/EM&gt; on a single page.&lt;/LI&gt;
&lt;LI&gt;In contrast, page translations are truly different pages with language-specific slugs.&lt;/LI&gt;
&lt;LI&gt;You must translate the content on translated pages yourself — HubSpot has no auto-translate feature at this time.&lt;/LI&gt;
&lt;LI&gt;Translated pages support smart content themselves, so, if you wanted, you &lt;EM&gt;could&lt;/EM&gt; have different translated pages based on the visitor's preferred language &lt;EM&gt;and&lt;/EM&gt; a layer within each translation for the IP country.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Beyond these built-in HubSpot options, you would need to implement a custom JavaScript solution to hide or display certain content based on the query string you pass.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 17:50:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248759#M21552</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-01-03T17:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling Localized User Agreement Pages To Show Users In-App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248760#M21553</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/isaac_takushi"&gt;@Isaac_Takushi&lt;/A&gt; thanks so much for the detailed response.&lt;/P&gt;
&lt;P&gt;I still don't know what the right solution for our problem is. IP lookup won't work for us. We need to display the display the appropriate country content for our users, but the desired country doesn't always match the country generated by IP lookup.&lt;/P&gt;
&lt;P&gt;Perhaps we can generalize the problem as follows:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;We want to display content for the user. The user has property "bar".&lt;/LI&gt;
&lt;LI&gt;We are able to pass query param and value to HubSpot as follows: "?foo=bar"&lt;/LI&gt;
&lt;LI&gt;Can HubSpot display content for an arbitrary param called "foo", with value equaling "bar"?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;What solution do you recommend for us?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 18:26:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248760#M21553</guid>
      <dc:creator />
      <dc:date>2019-01-03T18:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling Localized User Agreement Pages To Show Users In-App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248761#M21554</link>
      <description>&lt;P&gt;Fair enough about IP lookup, &lt;A class="mention" href="https://community.hubspot.com/u/lime_will"&gt;@lime_will&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;As I said, HubSpot has no out-of-the-box solutions which support custom query parameters, but you can certainly accomplish this with JavaScript on a HubSpot page.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jennamolby.com/how-to-display-dynamic-content-on-a-page-using-url-parameters/" rel="nofollow noopener"&gt;Here's a great little guide&lt;/A&gt; I found.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 15:23:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248761#M21554</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-01-04T15:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling Localized User Agreement Pages To Show Users In-App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248762#M21555</link>
      <description>&lt;P&gt;Thanks so much for your assistance, &lt;A class="mention" href="https://community.hubspot.com/u/isaac_takushi"&gt;@Isaac_Takushi&lt;/A&gt;! Will and I are meeting in about an hour to discuss, and will ping this thread shortly thereafter if we have further questions.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 16:10:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Pulling-Localized-User-Agreement-Pages-To-Show-Users-In-App/m-p/248762#M21555</guid>
      <dc:creator>John_Wachunas</dc:creator>
      <dc:date>2019-01-04T16:10:34Z</dc:date>
    </item>
  </channel>
</rss>

