<?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: Show/Hide Pop-up Form Based on Visitor Location? in Lead Capture Tools</title>
    <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Show-Hide-Pop-up-Form-Based-on-Visitor-Location/m-p/249714#M2284</link>
    <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;Is is possible to show a Pop-Up form only to visitors from the United States (for example) or a specifc state?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No. Not built-in HubSpot functionality for &lt;STRONG&gt;HubSpot Pop-Up Forms&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;- see image&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="mfjlabs-screenshot-Pop-Up Forms I HubSpot-20190130.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/14507i290C646AA649A1B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="mfjlabs-screenshot-Pop-Up Forms I HubSpot-20190130.png" alt="mfjlabs-screenshot-Pop-Up Forms I HubSpot-20190130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, another way to approach this problem would be by looking at the URL. If (for example) your URLs were customized to contain country-specific, or state-specific information you could program the HubSpot Pop-Up to target specifics in the URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example URLs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;USA&lt;BR /&gt;www.travel-example.com/best-cities/us/ma/london
www.travel-example.com/best-cities/us/ma/cambridge
www.travel-example.com/best-cities/us/dc/washington&lt;BR /&gt;www.travel-example.com/best-cities/us/ct/washington
www.travel-example.com/best-cities/us/ga/washington
www.travel-example.com/best-cities/us/il/springfield
www.travel-example.com/best-cities/us/ma/springfield&lt;BR /&gt;&lt;BR /&gt;UK&lt;BR /&gt;www.travel-example.com/best-cities/uk/london&lt;BR /&gt;www.travel-example.com/best-cities/uk/cambridge&lt;BR /&gt;&lt;BR /&gt;Canada&lt;BR /&gt;www.travel-example.com/best-cities/ca/toronto&lt;BR /&gt;www.travel-example.com/best-cities/ca/quebec&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, this would take planning well beyond the scope of just HubSpot, and need to take into consideration both&amp;nbsp;&lt;A href="https://www.businessinsider.com/british-cities-compared-to-american-cities-with-the-same-name#boston-is-a-small-town-in-lincolnshire-england-population-65000-in-2011-3" target="_blank" rel="noopener"&gt;countries that have cities of the same name&lt;/A&gt;&amp;nbsp;and &lt;A href="https://en.wikipedia.org/wiki/List_of_the_most_common_U.S._place_names" target="_blank" rel="noopener"&gt;states that have cities of the same name&lt;/A&gt;. But if URLs were planned this way, they could be easily targeted by not only HubSpot Pop-Ups, but ads, and smart content as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Help answer your question? If so, remember to accept this solution now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Frank&lt;/P&gt;&lt;P&gt;Author, the &lt;A href="https://mfrankjohnson.com/blogs/marketing-lab/tagged/_featured/?utm_source=hs-forum" target="_blank" rel="noopener"&gt;&lt;EM&gt;Perfect HubSpot&lt;/EM&gt; Series&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hubspot-solutions-signature-mfrankjohnson-v05.png" style="width: 378px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/11555i60BB289BDA5DD964/image-size/large?v=v2&amp;amp;px=999" role="button" title="hubspot-solutions-signature-mfrankjohnson-v05.png" alt="hubspot-solutions-signature-mfrankjohnson-v05.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.mfrankjohnson.com/?utm_source=hs-forum" target="_blank" rel="noopener"&gt;MFrankJohnson.com&lt;/A&gt; | &lt;A href="https://www.LinkedIn.com/in/mfjlabs" target="_blank" rel="noopener"&gt;Connect on LinkedIn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#99cc00"&gt;&lt;STRONG&gt;Help find posts quickly ... accept this solution now.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2019 10:17:38 GMT</pubDate>
    <dc:creator>MFrankJohnson</dc:creator>
    <dc:date>2019-01-31T10:17:38Z</dc:date>
    <item>
      <title>Show/Hide Pop-up Form Based on Visitor Location?</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Show-Hide-Pop-up-Form-Based-on-Visitor-Location/m-p/249639#M2278</link>
      <description>&lt;P&gt;Is is possible to show a pop-up form only to visitors from the United States (for example) or a specifc state? I found a similar question to which the answer was basically, no, this isn't possible. However, since the previous question was specific to GDPR, I thought I'd double check if my requirement could work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any insights.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 19:54:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Show-Hide-Pop-up-Form-Based-on-Visitor-Location/m-p/249639#M2278</guid>
      <dc:creator>khart1</dc:creator>
      <dc:date>2019-01-30T19:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide Pop-up Form Based on Visitor Location?</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Show-Hide-Pop-up-Form-Based-on-Visitor-Location/m-p/249714#M2284</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;Is is possible to show a Pop-Up form only to visitors from the United States (for example) or a specifc state?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No. Not built-in HubSpot functionality for &lt;STRONG&gt;HubSpot Pop-Up Forms&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;- see image&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="mfjlabs-screenshot-Pop-Up Forms I HubSpot-20190130.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/14507i290C646AA649A1B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="mfjlabs-screenshot-Pop-Up Forms I HubSpot-20190130.png" alt="mfjlabs-screenshot-Pop-Up Forms I HubSpot-20190130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, another way to approach this problem would be by looking at the URL. If (for example) your URLs were customized to contain country-specific, or state-specific information you could program the HubSpot Pop-Up to target specifics in the URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example URLs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;USA&lt;BR /&gt;www.travel-example.com/best-cities/us/ma/london
www.travel-example.com/best-cities/us/ma/cambridge
www.travel-example.com/best-cities/us/dc/washington&lt;BR /&gt;www.travel-example.com/best-cities/us/ct/washington
www.travel-example.com/best-cities/us/ga/washington
www.travel-example.com/best-cities/us/il/springfield
www.travel-example.com/best-cities/us/ma/springfield&lt;BR /&gt;&lt;BR /&gt;UK&lt;BR /&gt;www.travel-example.com/best-cities/uk/london&lt;BR /&gt;www.travel-example.com/best-cities/uk/cambridge&lt;BR /&gt;&lt;BR /&gt;Canada&lt;BR /&gt;www.travel-example.com/best-cities/ca/toronto&lt;BR /&gt;www.travel-example.com/best-cities/ca/quebec&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, this would take planning well beyond the scope of just HubSpot, and need to take into consideration both&amp;nbsp;&lt;A href="https://www.businessinsider.com/british-cities-compared-to-american-cities-with-the-same-name#boston-is-a-small-town-in-lincolnshire-england-population-65000-in-2011-3" target="_blank" rel="noopener"&gt;countries that have cities of the same name&lt;/A&gt;&amp;nbsp;and &lt;A href="https://en.wikipedia.org/wiki/List_of_the_most_common_U.S._place_names" target="_blank" rel="noopener"&gt;states that have cities of the same name&lt;/A&gt;. But if URLs were planned this way, they could be easily targeted by not only HubSpot Pop-Ups, but ads, and smart content as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Help answer your question? If so, remember to accept this solution now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Frank&lt;/P&gt;&lt;P&gt;Author, the &lt;A href="https://mfrankjohnson.com/blogs/marketing-lab/tagged/_featured/?utm_source=hs-forum" target="_blank" rel="noopener"&gt;&lt;EM&gt;Perfect HubSpot&lt;/EM&gt; Series&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hubspot-solutions-signature-mfrankjohnson-v05.png" style="width: 378px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/11555i60BB289BDA5DD964/image-size/large?v=v2&amp;amp;px=999" role="button" title="hubspot-solutions-signature-mfrankjohnson-v05.png" alt="hubspot-solutions-signature-mfrankjohnson-v05.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.mfrankjohnson.com/?utm_source=hs-forum" target="_blank" rel="noopener"&gt;MFrankJohnson.com&lt;/A&gt; | &lt;A href="https://www.LinkedIn.com/in/mfjlabs" target="_blank" rel="noopener"&gt;Connect on LinkedIn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#99cc00"&gt;&lt;STRONG&gt;Help find posts quickly ... accept this solution now.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 10:17:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Show-Hide-Pop-up-Form-Based-on-Visitor-Location/m-p/249714#M2284</guid>
      <dc:creator>MFrankJohnson</dc:creator>
      <dc:date>2019-01-31T10:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide Pop-up Form Based on Visitor Location?</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Show-Hide-Pop-up-Form-Based-on-Visitor-Location/m-p/249755#M2288</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73667"&gt;@khart1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here are the possibilities.&lt;/P&gt;&lt;P&gt;1. If you want the from to be visible to specific country users the easiest solution is add the form embed code in the rich text and make that rich text box smart on the basis of country.&lt;BR /&gt;From here you will get more information.&lt;BR /&gt;&lt;A href="https://knowledge.hubspot.com/articles/kcs_article/cos-general/embed-a-form-in-a-smart-rich-text-module" target="_blank" rel="noopener"&gt;https://knowledge.hubspot.com/articles/kcs_article/cos-general/embed-a-form-in-a-smart-rich-text-module&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. You can make the form smart on the base of the country.&lt;BR /&gt;&lt;A href="https://knowledge.hubspot.com/articles/kcs_article/cos-general/create-smart-forms" target="_blank" rel="noopener"&gt;https://knowledge.hubspot.com/articles/kcs_article/cos-general/create-smart-forms&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;3. If your condition is to match the specific state, you have to take the help of third party script. To use this you must have good knowledge of javascript, jquery and css. The way to implement this is:&lt;BR /&gt;a.) Use the third party api which will return you the country and state of the user when page loads. One of the examples of third party api is:&lt;BR /&gt;&lt;A href="https://api.ipapi.com/" target="_blank" rel="noopener"&gt;https://api.ipapi.com/&lt;/A&gt;&lt;BR /&gt;b.) Add multiple forms on the page(If you have 2-3 forms it will not effect anything and if you have too many forms it will effect the page load time.) which you want to show to users and hide them with css and also assign them specific classes.&lt;BR /&gt;c.) Get the location with api and add the if condition. where if condition matches use the class of form to show it on the page.&lt;BR /&gt;&lt;BR /&gt;If any of this solution helps you, please accept this answer.&lt;BR /&gt;&lt;BR /&gt;Thanks!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 07:30:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Show-Hide-Pop-up-Form-Based-on-Visitor-Location/m-p/249755#M2288</guid>
      <dc:creator>herrygupta</dc:creator>
      <dc:date>2019-01-31T07:30:00Z</dc:date>
    </item>
  </channel>
</rss>

