Marketing Hub

Newsletter & Subscribe Page

How the public subscribe page works with GDPR double opt-in and confirmation emails.

3 min read

How It Works

The newsletter system captures leads from your marketing website and adds them to your contact database.

When someone subscribes via the TempClock website, the following happens automatically:

Their email, name, and company are recorded in the marketing contacts database
GDPR consent is logged with timestamp, IP address, and the consent text they agreed to
A confirmation email is sent with an HMAC-signed verification link
Once they click the link, their status changes to "confirmed" and they start receiving campaigns

Double Opt-In Flow

GDPR-compliant two-step verification.

User fills in the form

The visitor enters their email address and ticks the consent checkbox. Their record is created with confirmed = 0 and subscribed = 0.

Confirmation email sent

An email is sent immediately with a unique, HMAC-signed confirmation link. This link cannot be guessed or tampered with.

User confirms

When the user clicks the link, their record is updated to confirmed = 1 and subscribed = 1. They are now eligible to receive campaigns.

Note

Contacts who have not confirmed cannot receive campaigns. This protects you from sending unsolicited emails and ensures GDPR compliance.

Where Users Can Sign Up

Multiple lead capture points across the website.

Subscribe Page

Dedicated page at tempclock.com/subscribe.php with full form (email, name, company, consent checkbox)

Footer Newsletter Bar

Compact email-only signup in the website footer — appears on every page

Contact Form

Optional newsletter opt-in checkbox on the contact page — checked by default

Inline Sections

Newsletter signup sections embedded on key pages like the homepage and pricing page

All signup points use the same backend and double opt-in process. The source field tracks where each contact signed up (e.g. "footer", "contact_form", "homepage").

Unsubscribe Process

One-click removal from all campaigns.

Every campaign email includes an unsubscribe link at the bottom. When clicked:

The link signature is verified using HMAC to prevent abuse
The contact's subscribed field is set to 0 and unsubscribed_at is timestamped
They are immediately excluded from all future campaigns
The record is preserved (soft delete) for audit and compliance purposes
Note

The unsubscribe page shows a confirmation message. The contact can re-subscribe at any time by visiting the subscribe page again.

Ready to try TempClock?

10-day free trial. All features included. No hidden fees, cancel anytime.