Skip to main content
Answered

Capture customer IP address

  • Mar 9, 2021 8:55 AM UTC
  • 28 replies
  • 2249 views

We plan to create a survey question in Typeform and embed it into our website. 
After the customer submitting the survey questions, will the Typeform capture the customer's IP address? 
Will Typeform deduct the customer's unique IP address and restrict the customer from submitting multiple surveys?

Best answer by Liz

Hi @Charles thanks for stopping by! We don’t currently capture and share the IP addresses of your respondents, but would you mind sharing your use case? This will help us understand why adding this would be a helpful feature. :grinning:

As for restricting multiple responses, we have a workaround here that may help you. 

 

View original

28 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Answer
  • Mar 9, 2021 7:21 PM UTC

Hi @Charles thanks for stopping by! We don’t currently capture and share the IP addresses of your respondents, but would you mind sharing your use case? This will help us understand why adding this would be a helpful feature. :grinning:

As for restricting multiple responses, we have a workaround here that may help you. 

 


  • Author
  • Explorer
  • Mar 10, 2021 3:36 AM UTC

At the end of the survey, we plan to provide the voucher to our customers. So We want to restrict them to submits multiple responses.


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Mar 10, 2021 9:18 PM UTC

Hi @Charles ah, got it - thank you!! That makes sense. 


  • Navigating the Land
  • May 15, 2021 4:04 AM UTC

Best regards

I would like to know if you plan to carry out this functionality in the future.

The business finds it important to have the IP addresses from where the client is sending the form to identify the origin of the regions and if from the same IP address they are filling out the same form several times.


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • May 17, 2021 7:04 PM UTC

Hi @Jorge Londoño Thanks for stopping by! I’m afraid this isn’t a feature currently in our roadmap, but I can share this feedback with our product team. If you have any other questions or suggestions, please let us know!


Forum|alt.badge.img
  • Navigating the Land
  • Jun 20, 2021 10:43 PM UTC

The IP Address helps Facebook track conversions.  This is essential for ad optimization, especially after the iOS update.

Typeform converts better than Wufoo, but FB can better track Wufoo forms since they include IP Address.  


Forum|alt.badge.img
  • Explorer
  • Jun 29, 2021 3:20 PM UTC

+1 for this. We use typeform for ISP troubleshooting guides and this would be extremely helpful for us.


Forum|alt.badge.img+2
  • Sharing wisdom
  • Dec 20, 2021 9:08 AM UTC

Hello,

We have multiple forms, and we don’t to ask clients extra questions non-related to the forms, but for our data purposes we want to collect identify which city clients are from, and thus we want to identify their IP address. What are possible workarounds to do that? Any suggestions?


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Dec 20, 2021 11:29 AM UTC

Hi @ValdemarQ Welcome to the community! I added your post here where we have the answer. Let us know if you have any other questions. 


  • Explorer
  • Feb 18, 2022 2:57 PM UTC

Hi all,

Just want to add our interest in this feature as well. The notion to hide IP addresses eludes me. We would only need it however, to verify a users location to country and town. This could still be done without revealing the actual IP address.


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Feb 18, 2022 6:33 PM UTC

Thanks, @CommTeam ! As always, if we add this feature to the roadmap, we’ll post it here. :grinning:


Forum|alt.badge.img+2
  • Sharing wisdom
  • Feb 21, 2022 9:36 AM UTC

@Liz I wonder given there is option to add hidden fields and there is option to have google tag manager integrated, is there a possibility that google tag manager passes those IP values to hidden field, which later is logged into the sheets?


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Feb 21, 2022 11:30 AM UTC

Hey @ValdemarQ! How are you doing today?

As far as I know, I think there might be a way to do this but since it's more of a 3rd party tool configuration workaround case, I don't have a way to say it for sure.

Also, we don't have the expertise in Google Tag Manager to know for sure. So, I'd wait for @Liz to see if she has anything to add! :blush:

Sorry if I couldn't help you more! 


Forum|alt.badge.img+2
  • Sharing wisdom
  • Feb 21, 2022 11:55 AM UTC

Is there any specialist around who could comment on this, help with a solution? To help get client IP to typeform hidden field when he is filling the typeform?


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • Feb 21, 2022 3:30 PM UTC

@ValdemarQ - if the form is embedded/accessible on/from your site, you should be able to capture the IP address someone hitting your web site.. and you should be able to track the activity Ie link click of that IP on your website to typeform - and using the time stamps you can approximate who, from where, is clicking links to typeforms and who is providing responses.. 

just a thought.. 

 


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Feb 22, 2022 10:11 AM UTC

@ValdemarQ is the form you're trying to track the IP addresses from embedded on your website?


Forum|alt.badge.img+2
  • Sharing wisdom
  • Feb 22, 2022 10:12 AM UTC

@Gabi Amaral yes, form is embedded on our website


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Feb 22, 2022 10:43 AM UTC

@ValdemarQ! I'm tagging @picsoung and @mathio that might have some ideas on how to do that! 


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • Feb 22, 2022 11:25 AM UTC

Hello all 👋

For embedded typeforms you can pass this values as hidden field.

However you can not read the IP address client-side (in JavaScript). You can either return it from your own webserver or use a 3rd party service to obtain an IP address of your customer:

<div id="wrapper" style="width:100%;height:500px;"></div>
<link rel="stylesheet" href="//embed.typeform.com/next/css/widget.css">
<script src="//embed.typeform.com/next/embed.js"></script>
<script>
async function getIpAndLoadWidget() {
// load data about your customer from db-ip.com
const result = await fetch('https://api.db-ip.com/v2/free/self')
const data = await result.json()
const { ipAddress, continentCode, continentName, countryCode, countryName, stateProv, city } = data || {}

// create widget embed
window.tf.createWidget('<form-id>', {
container: document.querySelector('#wrapper'),

// pass the data to your typeform as hidden fields
hidden: {
ip: ipAddress,
continent: continentName,
country: countryName,
city: city,
}
})
}
getIpAndLoadWidget()
</script>

For details, limitations and terms of service about this 3rd party API see https://db-ip.com/api/free.php


Forum|alt.badge.img+2
  • Sharing wisdom
  • Feb 22, 2022 11:27 AM UTC

Perfect, thank you! We shall try it out! Will report once tested!


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Feb 24, 2022 9:54 AM UTC

Hey @ValdemarQ! How are you doing today? I was just wondering if you try mathio's suggestion? Curious to check if it worked! 


Forum|alt.badge.img+2
  • Sharing wisdom
  • Feb 24, 2022 9:55 AM UTC

@Gabi Amaral in the process, once implement and tested will let you know :)


  • Navigating the Land
  • Jul 12, 2023 7:21 PM UTC

@ValdemarQ were you able to get this to work? I tried to add it to my Webflow site where we use a Typeform to send responses to Hubspot but the IP information is not being sent over to Typeform ¯\_(ツ)_/¯ 


Forum|alt.badge.img+2
  • Sharing wisdom
  • Jul 13, 2023 3:48 AM UTC

@dan1ftp Hi, yes I managed to make it work, though used slightly different way. 

1. Created hidden fields

2. Upon opening form, my website adds the ip from 3rd party (as users has been identified on opening the webpage)

3. Add the ip, city, country and all the data to hidden fields

 

 

 

 


  • Navigating the Land
  • Jul 13, 2023 12:38 PM UTC

@ValdemarQ amazing news! Congratulations :) Would you be able to post a quick explainer video or code snippet of how you made this work? It would be a huge help for our environmental nonprofit :)