BEILOFF Toolkit / v1.0.1

Send website enquiries to Google Sheets with an HTML form

Collect enquiries in a shared team spreadsheet. Each row connects the reply email and brief to a source page and campaign. Preview a sample row locally.

How the kit works

Website form

The visitor provides a reply email and brief. The handler collects the source path and five UTM parameters.

Team spreadsheet

The setup script creates an Enquiries tab with contact details, UTC time, attribution and status. New rows start with the status new.

Retries

The sheet stores the request ID and fingerprint. A retry using the same ID and content is acknowledged without appending another row.

Inside the ZIP

  • README.md
  • Sheet.gs
  • en.html
  • form.js
  • index.html
  • server.mjs
  • sheets.test.mjs
  • style.css
  • RELEASE.txt

The local preview runs without a Google account. Live use requires web app deployment permissions and sufficient Google quotas. The shared secret stays on the server.

Getting started

  1. Run node server.mjs and visit the printed address with ?utm_source=demo. Submit a sample enquiry.
  2. Add Sheet.gs to Apps Script, enable the advanced Google Sheets v4 service and set SHEET_ID and SHARED_SECRET. Run setupSheet.
  3. Deploy the web app. Set its /exec URL and shared secret on the Node server, run node server.mjs --live and test your sheet.

Change the colours and logo

Edit the body, form, button and :focus-visible colours in style.css. Add a logo image with alt text before h1 in index.html and en.html. Sheet.gs uses setBackground for the sheet header. For an existing sheet, you can change its fill in Google Sheets. Check the form and the enquiry receipt.

Verify the result

Run node --test sheets.test.mjs. After configuring your Google account, check attribution and resend the same identifier. Verify that only one matching row exists.

Google · Apps Script web apps

Release notes

v1.0.1

Added colour and logo customisation instructions to the README.

v1.0.0

Collect enquiries in a shared team spreadsheet. Each row connects the reply email and brief to a source page and campaign. Preview a sample row locally.

Download free in my account