Om Sai Ram. Only temple coordinators should use this page.
Changes go live only after Publish to Website. Events marked Popup appear as a flyer popup for visitors (until the "show until" date). Inactive events are hidden everywhere.
Appointment bookings are saved to a Google Sheet. Paste the Sheet's Web App URL below (ends in /exec). Update this each year when a new Sheet is used, then press Publish.
What this does: Every appointment booking from the website gets saved as a new row in your Google Sheet automatically. You set this up once for each new Sheet (e.g. once a year).
Step 1 β Prepare the Sheet
Step 2 β Add the script
function doPost(e) {
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheets()[0];
var d = JSON.parse(e.postData.contents);
sheet.appendRow([
new Date(), d.Service || '', d.Date || '', d.Time || '',
d.Name || '', d.Phone || '', d.Email || '', d.Priest || '', d.Notes || ''
]);
return ContentService.createTextOutput(JSON.stringify({ok:true}))
.setMimeType(ContentService.MimeType.JSON);
}
Step 3 β Deploy as a Web App
Step 4 β Copy the URL & save it here
/exec. Click Copy.Tip: To test, open the temple website, book a test appointment, and check that a new row appears in the Sheet. If nothing appears, re-check that Step 3 access was set to Anyone.
The popup appears on the website only between the Popup Start and Popup End dates. Leave Popup Start blank to start showing immediately.