How to Add Geographical Info (Geocode: Longitude/Latitude) to Google Forms

Поделиться
HTML-код
  • Опубликовано: 5 сен 2019
  • Tutorial on Geo tagging (Geo-stamp and Time-stamp) google forms.
    Add info on Latitude, Longitude and Address (Street name and number, city, state, zip code and country) of a device submitting google forms. Linking user’s location within google forms.
    Google forms integration with google maps.
    Links to download scripts are given below:
    1) Code.gs : drive.google.com/open?id=1D4v...
    2) Index.html : drive.google.com/open?id=1mYZ...
    Hey, if my tutorial was a time saver for you, kindly support me on patreon:
    / khizermehmood97

Комментарии • 417

  • @marielbehnke2037
    @marielbehnke2037 4 месяца назад +3

    Thank you Khizer! You've saved a small non-profit a lot of time and money - this was so easy once I actually opened the documents. Love the kitten background.

  • @sergiorocha5379
    @sergiorocha5379 10 месяцев назад

    After several attempts I discovered the reasons why Master Khizer's codes apparently didn't work. I was copying them directly from the Drive file in the Browser. This added expressions to the code, which made it buggy.
    You need to OPEN the code for editing, and then COPY the code.
    Congratulations Khizer!

  • @michelemery4986
    @michelemery4986 4 года назад +5

    Super ! Just curious, can this script collect geo locations when not in cell or wifi range (ex in the field)? using the internal GPS of your phone.

  • @josedavidabad812
    @josedavidabad812 3 года назад

    Gracias por tu valiosa contribución. Saludos desde Quito - Ecuador.

  • @halalexpressions
    @halalexpressions 2 года назад +3

    You are revealing a lot of personal information in this tutorial including your email and home address

  • @vikzascribbler
    @vikzascribbler 2 года назад

    Hatts of for your teaching thanks a lot 🥰❤️ we will support you more and more.. ❤️ keep going.. ❤️

  • @andchanel5543
    @andchanel5543 3 года назад +4

    me TypeError: Cannot read property '0' of undefined (line 12, file "code") can someone help me please!

  • @biha2286
    @biha2286 3 года назад

    Hi, i have 2 forms in google form which need to use the location. Which part of coding should i change . because it only works for one form

  • @wanderingmaus
    @wanderingmaus 3 года назад +1

    I keep getting error that the script can't run. Is there a html file code that can be copy and pasted from something other than the Lumin pdf add on from google?

  • @poojabhateley8048
    @poojabhateley8048 4 года назад

    The form is stopping at 'GeoCode Entered', and it is not moving forward. Any suggestions?

  •  4 года назад

    Hello, I carry out the steps but when publishing the html it is suspended, thinking ... where can the error be? Thanks a lot

  • @AbhishekKumar-cq9rc
    @AbhishekKumar-cq9rc 3 года назад

    Hello Khizer, is there any way i can hide my location if i want to fill a google form ? Thank you

  • @user-kf5bw3uw8l
    @user-kf5bw3uw8l 3 года назад

    Thank you so much it's great.
    But if I want to use the function but in Fluent Form.
    is there a possibility ? can you help me?

  • @egypurnama7244
    @egypurnama7244 4 года назад +2

    Thank you very much for the nice tutorial. But, I got some problems. When I access the form with my device, it works. But, when the other device want to access, it need permission to web app. I have tried to change the access setting, but it still same. Would you mind to fix it ? Big thanks

  • @asambleacristiana6552
    @asambleacristiana6552 2 года назад

    hi, its possible do that but with a html form? and save data into sheet with geolocation too

  • @holcimsales3435
    @holcimsales3435 11 месяцев назад +1

    Hi Dear , I was able to collect the geolocation for the first input only , the other inputs arrives to the google sheet without addresses , why please ?

  • @anshulmishra2064
    @anshulmishra2064 2 года назад

    Sir is there any option to add some other column like Mobile Advertising IDs, Horizontal Accuracy, Timestamp, country codes etc..

  • @fernandoteransangerman8654
    @fernandoteransangerman8654 4 года назад +3

    Excellent tutorial, thanks for sharing, it cost a lot of work but as at 10 attempts everything was perfect.
    Cheers.

    • @maulikgangani5491
      @maulikgangani5491 4 года назад +1

      I want to make one google form which can capture the location of the respondent. I was searching that how making this feature in google forms & I found this video. As I am not an expert in coding, but I need this coding so that I can make a form which can collect the current location of the respondent. If somebody can help me, I will be thankful for them. Can I have this coding, which is mentioned in this video?

    • @ayushjindal6908
      @ayushjindal6908 3 года назад

      @@maulikgangani5491 You don't need to know coding, just copy paste the code from the links.

    • @khizermehmood3187
      @khizermehmood3187  3 года назад +2

      Thanks.
      kindly support me on Patreon :
      www.patreon.com/khizermehmood97

    • @anneanetor9952
      @anneanetor9952 Год назад

      @@ayushjindal6908 what links please? I am currently doing same and need help getting the code.

  • @josephallend.devera2703
    @josephallend.devera2703 2 года назад

    Hi! At the end, I pushed the block location, how to undo? And make it turn back on again. Thank you!

  • @nandu1595
    @nandu1595 Год назад +1

    Thanks for the video. It worked once and the entry was in RED color font. After that we tried submitting from different countries, but it is not capturing the geo coordinates. How can I fix it?

  • @aradiakhdaemon1
    @aradiakhdaemon1 4 года назад

    good evening...thanks for sharing...i have this one issue though..some respondent geodata can't be captured but some can. kindly please advised. thanx

  • @cecillejustinbayonito8871
    @cecillejustinbayonito8871 10 месяцев назад

    hi, i tested to run the finished form on the phone. I have one problem tho... the geocode demo project didn't run as smoothly as it was tested on a desktop chrome. I need help running the geocode demo via phone.
    thank you

  • @vicentegonzalez5298
    @vicentegonzalez5298 2 года назад

    What lines need to be deleted to deactivate the time-stamp function? google forms automatically time-stamps submissions.

  • @narpaal1196
    @narpaal1196 4 года назад +1

    Good work.
    How to handle in case the device like mobile is NOT Switched on Location / gprs services ??

  • @salidahuerta8667
    @salidahuerta8667 2 года назад

    I am having trouble and I do not think I have all of the code and index scripts down to make it work properly.

  • @knowledgetips32
    @knowledgetips32 3 года назад

    On Manage deployment, when i select Only my self its perfectly, but when i select anyone then it show error as below
    Sorry, unable to open the file at present.
    Please check the address and try again.
    Please guide.

  • @user-qo4zc8qz5m
    @user-qo4zc8qz5m 3 года назад

    i can run this form on PC & ios but can't android?
    it's don't have allow to click. pls tell me, how this work?

  • @indsatindicedesatisfacao2535
    @indsatindicedesatisfacao2535 10 месяцев назад

    If I send the fomr link to someone else, it gives an access denied error. Is there another way to add an activator instead of clicking on a link?

  • @lllegion6726
    @lllegion6726 2 года назад

    I just saw your video about geolocation because I'm looking for a way to find a lost cellphone with a geolocation script. do you have a script to find a cellphone that has been lost or stolen. because I have lost as many as 4 cellphones.

  • @kalairajst3696
    @kalairajst3696 3 года назад

    Am getting an error message at the time of submitting the form by the respondent saying At present, s not available despite i have gdrive account

  • @THOMASBALAN
    @THOMASBALAN 2 года назад

    i try then this message appear. why? Exception: No HTML file named Index was found. (line 2, file "GEOCODE")

  • @psrlmhr9077
    @psrlmhr9077 3 года назад

    getting error while running "This application was created by another user, not by Google.
    Terms of Service" what to do

  • @nataliaeliceiri5560
    @nataliaeliceiri5560 5 месяцев назад

    Hola! Me tira un error: Exception: No se ha encontrado el archivo HTML denominado Index. (línea 2, archivo "Codigo GS")
    Me podras ayudar?

  • @datamanagementexecutive1359
    @datamanagementexecutive1359 3 года назад +1

    Dear, after submitting the link "Form Submitted Successfully" is not coming even after changing from "Geo Code Entered". But still isn't working. Please help.

  • @dr1mezo
    @dr1mezo 3 года назад

    finally I got it! thanks again brother.. gr8 work.

  • @Gurveer1990
    @Gurveer1990 4 года назад +1

    Getting error
    Script function not found: doGet

  • @incacleaningllc8021
    @incacleaningllc8021 2 года назад

    Hello. Thank you for your video! I was able to do this to my form and it worked! BUT only for the 1st 2 entries. Is there something that can go wrong? How can I fix it?
    Please help.

  • @daggubatisagarbabu4787
    @daggubatisagarbabu4787 Год назад

    ReferenceError: functiondoGet is not defined (line 1, file "Code") occured what to do

  • @sdbdteamravati83
    @sdbdteamravati83 2 года назад +1

    ReferenceError: functiondoGet is not defined (line 1, file "Code")

  • @anastasiagkargkavouzi5379
    @anastasiagkargkavouzi5379 Месяц назад

    Hi! Can you help me? when clicking on the link, it says "Exception: No HTML file named Index was found. (line 2, file "Code")". What am I doing wrong?

  • @mdpdme738
    @mdpdme738 3 года назад +1

    its not working in mobile phone, If I open Google form on mobile then after submission, Geocode does not work

  • @melonsaus
    @melonsaus Год назад

    Hi i just tried to do this but when i went to deploy as a web app i got this error message Syntax error: SyntaxError: Unexpected token '&' line: 2 file: Code.gs - does anyone know how to fix that? Cheers Jo

  • @TestTest-uo4bx
    @TestTest-uo4bx 3 года назад

    Hi I am not able to deploy
    Syntax error: SyntaxError: Unexpected token '{' line: 1 file: Geo.gs
    this error msg displays

  • @kittipongsessumpun2596
    @kittipongsessumpun2596 2 года назад +1

    Really Useful !!! some interface change - little adaptation but successfully done.

  • @digitsdocs7704
    @digitsdocs7704 3 года назад

    Good work man! We'll try now thanks...

  • @helloworld1164
    @helloworld1164 3 года назад +1

    Why some geo location inserted in google sheet in red instead of black?

  • @bhargavkaushik4712
    @bhargavkaushik4712 2 года назад

    It shows this message at the end of the form submission. "Script function not found: doGet"

  • @helmijunaidi2366
    @helmijunaidi2366 2 года назад

    hi, can we do exactly like this in microsoft form ? help me

  • @rajavamshafan8271
    @rajavamshafan8271 Год назад

    Bro, When we submit this Google form from Mobile Phone its not capturing the Geo location, but its taking from System Please help

  • @googlesheetautomation3573
    @googlesheetautomation3573 Год назад

    i am geeting this pop when i clicked on url GeoCode Entered but location is not come in the sheet please help

  • @mahanimdzali7871
    @mahanimdzali7871 3 года назад

    Friends,, help meyhh,,"Exception: No HTML file named Index was found. (line 2, file "Code")"

  • @Behappyalways309
    @Behappyalways309 8 месяцев назад

    With this coding can we show the location of the office where they have to come ? Please reply.

  • @lovepreetsingh-ku9ot
    @lovepreetsingh-ku9ot 2 года назад

    Script function not found: doGet
    getting this error while submitting through link

  • @fendihassan4285
    @fendihassan4285 4 года назад

    once click the link it appear geocode entered. but in the sheet nothing

  • @Fatmaalzhraa-mu5ex
    @Fatmaalzhraa-mu5ex 2 месяца назад

    Thank You really! but I'm facing an issue that some people their location doesn't appear in the form despite turning on location

  • @phelangkdithebe1254
    @phelangkdithebe1254 3 года назад

    Does the code change if I use different codes

  • @demo7191
    @demo7191 3 года назад

    Awesome video! It's a way to import Ip address like Geographical in this video?

  • @Rod2lodTv
    @Rod2lodTv 3 года назад +1

    It works!! done Subscribed,Thank Man!

    • @khizermehmood3187
      @khizermehmood3187  3 года назад

      Thanks.
      kindly support me on Patreon :
      www.patreon.com/khizermehmood97

  • @razakmd4859
    @razakmd4859 2 года назад

    The script is working in desktop.But it's not working in mobile (Android phone). It's through error like.. Sorry,Unable to open the file at this time. How can resolve this ?

  • @TriAtmaja1000
    @TriAtmaja1000 3 года назад

    Perfect!
    Thanks, Man! it works perfectly.

    • @sakshikhare5750
      @sakshikhare5750 3 года назад

      how, can you tell me please, i am not getting the option of publish

  • @humanresourcemanager8527
    @humanresourcemanager8527 2 года назад

    10:29:04 AM Error TypeError: Cannot read property '0' of undefined
    Please assist to resolve this Error.
    This is in getLoc() function.

  • @nestoralbertovillalbasanch8406
    @nestoralbertovillalbasanch8406 2 года назад

    thank you, genius mister this is amazing

  • @abhivid6625
    @abhivid6625 2 года назад

    dear where did you get word file where you copied t

  • @jessicamariaquinterovilami8234
    @jessicamariaquinterovilami8234 4 месяца назад

    i tryed everythings and it is not work, dont show any error and dont show nothing in the excel,

  • @simplyoption9472
    @simplyoption9472 3 года назад

    But when i am using the form in smartphone it is not recording the geo data plz reply

  • @lupeets23
    @lupeets23 2 года назад

    Coordinates aren't showing up on google sheets for me.

  • @vikashjain9453
    @vikashjain9453 2 года назад

    location access permission dialog box not showing, Plz help

  • @dr1mezo
    @dr1mezo 3 года назад

    thanks for the most important things but it doesn't work for me & give me a message :
    Exception: لم يتم العثور على ملف HTML باسم Index. (السطر رقم 2، الملف "الرمز")
    what do you think 🤔

  • @kevinpham1188
    @kevinpham1188 9 месяцев назад

    Perfect. That's what I need now.

  • @idocityside5689
    @idocityside5689 3 года назад

    its only work if respondent fill google form from PC (Laptop or desktop) , if respondent fill form from mobile this technique fail to work khizer bhai

  • @protezionecivilemalalbergo
    @protezionecivilemalalbergo Год назад

    Really thank you. Very useful and clear!

    • @juliusvergara7103
      @juliusvergara7103 11 месяцев назад +1

      How were you able to get it to work? I was able to execute the code - but I still am unable to attain the longitude, latitude data.

  • @user-eo2sn1ki9x
    @user-eo2sn1ki9x 3 года назад +1

    Thank you so much bro, that very good.
    If I want to add info on "ComputerName", How to write script for it? Thank you again.

  • @sunilnaik7613
    @sunilnaik7613 2 года назад

    Hi its Nice very Helping us but have one query
    im sharing form link to other person who is going to field but not able to get update location please let me know how can share the form and capture field exe location

  • @chanthonkounsombath3521
    @chanthonkounsombath3521 4 года назад

    The system is error ( Exception: No HTML file named Index was found. (line 2, file "Code") ), help me please

  • @MahmoudAli-ho1qd
    @MahmoudAli-ho1qd 2 года назад

    can you help me to edit this code ?

  • @ayoubineci5295
    @ayoubineci5295 3 года назад

    HELLO; IT WORK BUT THE GIOCO DOEN'T APPEAR ON THE SHEET

  • @solutiontimeempresa3239
    @solutiontimeempresa3239 4 года назад

    Me parece muy practica y útil, lo probaré ahora mismo, luego les comento la funcionalidad

    • @ggmtddbo
      @ggmtddbo 4 года назад

      Lo probaste como te fue?

  • @natehoyt1026
    @natehoyt1026 2 года назад

    I keep getting error "Script function not found: doGet"

  • @dhirajmaurya4840
    @dhirajmaurya4840 4 года назад

    Hello friend can you do all over process on Google form submit button.

  • @Aarya2020
    @Aarya2020 2 года назад

    how its possible google form submit Geo location get .
    not a form submit to next step click this below link ?

  • @marcelocpereira123
    @marcelocpereira123 Год назад

    Fantastic!!! Good job!!

  • @cooltoye
    @cooltoye Год назад

    It does not seem to work with responses on IOS

  • @QaesarNazeer
    @QaesarNazeer 2 года назад

    Its not picking Geo coding from Mobile !
    Can someone guide ?

  • @s.imoynaclrc9083
    @s.imoynaclrc9083 3 года назад +1

    SyntaxError: Unexpected token '{' (line 1, file "Code.gs") error... found

    • @hardacomp
      @hardacomp 3 года назад

      IMHAVING THE SAME ERROR... ANY CLUE???

  • @exceladvisor29
    @exceladvisor29 3 года назад

    Bro i keep getting this error >> " Exception: No HTML file named Index was found. (line 2, file "Code") Please guide bro really need your help

    • @ConsulthinkProgrammer
      @ConsulthinkProgrammer 3 года назад +1

      Build the whole form use google apps script and you will solve some problem at the same time in this project :)

  • @sonusurywanshi6792
    @sonusurywanshi6792 2 года назад

    How to upload in face location in google form please give the solution

  • @mytripleal6846
    @mytripleal6846 3 года назад

    Thanks Brother this is very helpful for me ,

  • @maheshkumarmandal7798
    @maheshkumarmandal7798 Год назад

    Sir html me paste ka data khea se milega please provide me

  • @atulsharma4023
    @atulsharma4023 2 года назад

    Exception: No HTML file named Index was found. (line 2, file "Code")
    I am getting this error.. someone please help

  • @ricardocedillo4894
    @ricardocedillo4894 3 года назад

    Super!!!!! Thank You, so much

  • @sdpl-nka6854
    @sdpl-nka6854 4 года назад

    what is the solution for this erroer-----TypeError: Cannot read property '0' of undefined (line 12, file "Code")

  • @biplabbiswas8877
    @biplabbiswas8877 4 года назад

    ReferenceError: document is not defined (line 1, file "Code"), can you plese comment on this error. Thanks

    • @khizermehmood3187
      @khizermehmood3187  4 года назад

      Double check the spelling of file name 'Code', spelling (case sensitive) must be identical in both file name (name of the file which you downloaded) and as well as in the script editor

  • @vikashmishra9350
    @vikashmishra9350 3 года назад +3

    It is working fine but for some of the users, the geolocation we are getting, is not correct.
    What could be the reason and how can we resolve the same?

    • @cristhian5124
      @cristhian5124 Год назад

      Add some delay to the code to return a position successfully.

  • @sulaimanal-busaidi9285
    @sulaimanal-busaidi9285 3 года назад

    Thank you Mr. Code Genius

    • @khizermehmood3187
      @khizermehmood3187  3 года назад

      Thanks.
      kindly support me on Patreon :
      www.patreon.com/khizermehmood97

  • @HadiKaryanto
    @HadiKaryanto 2 года назад

    Tutorial sangat bagus, terimakasih

  • @dadangkurnia897
    @dadangkurnia897 4 года назад

    Hi, I Have problem following your tutorial may you croscek. Thanks

  • @smppasundan7bandung508
    @smppasundan7bandung508 3 года назад

    nama backsoundnya apa?

  • @neivamario
    @neivamario 4 года назад +1

    Great! Thank you. The web app won't capture mobile data though, is that correct? If so, is there a way around it?

    • @Leover378
      @Leover378 3 года назад

      Ya lo probaste? Tambien me interesa saber si funciona en movil.

    • @javierhouspa694
      @javierhouspa694 Год назад

      @@Leover378 we use it but do not work in mobiles..... any advance about this? THANKS!

  • @LearneZia
    @LearneZia 4 года назад

    Not working, kindly resolve
    Showing error
    SyntaxError: Unexpected token '{'(line 2, file "Code.gs")

    • @ayushjindal6908
      @ayushjindal6908 3 года назад

      it's a copy paste error. Correct the pasted file.

  • @mohsenghafari7652
    @mohsenghafari7652 3 года назад

    how to insert picture?