I need to capture the IP Address to google spreadsheet via google web form

喜你入骨 提交于 2019-12-08 19:38:12

问题


I have designed a Google web form. This form is sent to number of clients. All the fields that are submitted are recorded to Google spreadsheet. I need to capture the IP Addresses of clients and time-stamp to spreadsheet when client updates his information.

How can I make the client to include its own IP address to store it in spreadsheet?


回答1:


To make the clients to include their own IP address in a Google Form you should ask them to write the IP address themselves.

The alternative is to pre-populate the answers and send the custom URL to them. For identification purposes, if you don't know the IP address, instead use a unique ID.

References
Pre-populate form answers - Docs editor Help




回答2:


You can set up a reverse proxy that injects a javascript file in the form, that JS bit can detect and save the user IP in a field, along with any other info you’d need such as user agent, language, local time and so on. This isn’t exactly trivial but may be worth exploring.




回答3:


Old topic I know but I found this thread as I am trying to similar.

I've had to resort to forgetting the Forms idea and reverting to Sheets.

You can then use Regex to validate =REGEXMATCH(C6,"\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}")

Data Validation for IP image

Not the ideal solution but a viable alternative for what I need....and me be of help to others




回答4:


Surveymonkey provides IP tracking on submission.

Read more here: http://help.surveymonkey.com/articles/en_US/kb/How-do-I-turn-off-the-IP-addresses-collection-on-the-responses



来源:https://stackoverflow.com/questions/22831182/i-need-to-capture-the-ip-address-to-google-spreadsheet-via-google-web-form

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!