Search code examples
angularpostgoogle-sheetsfrontendgoogle-forms

Angular 7 | Post to Google Form


I Want to create a really simple subscription for mailing list for a static website on github pages, which means I have no backend.

I thought I could do this using Google Sheets API but I have trouble getting it done on my angualr application.

What I have done so far is to create a google form with only one entry field (the email). I also have the entry number by inspecting it.

I tried to do it using jQuery ajax but it wont work..

Any ideas?


Solution

  • I dont have idea about Google Sheets Api, but you can use firebase for recording your form data from the form. And you can host your form page in GithubPages/Firebase. It's very easy to use firebase.

    Give it a try.

    Hope it solves your query