Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

docs(email): warn that Resend tracking can take over the app domain

spacesdrive02c1b99e7988
diff --git a/docs/workflows/DEPLOYMENT.md b/docs/workflows/DEPLOYMENT.md
index bdc50c3..4167f35 100644
--- a/docs/workflows/DEPLOYMENT.md
+++ b/docs/workflows/DEPLOYMENT.md
@@ -82,7 +82,7 @@ Each command prompts for the value (no echo - the value is not shown).
`FRONTEND_URL` is also the browser origin the API accepts: CORS answers only `FRONTEND_URL` and the origins listed in `ALLOWED_ORIGINS`. Set `ALLOWED_ORIGINS` when the app is served from more than one address (for example a custom domain and the `pages.dev` address), and update `FRONTEND_URL` when the domain changes, or the browser blocks every API call.
-The email secrets only matter once Supabase's Send Email hook points at `https://<worker>/api/auth/email-hook`. Set them before turning the hook on: while the hook is on and the secrets are missing, every sign-up and password reset fails with a 503. The full setup (Resend domain, hook, **Confirm email**, rate limit) is in the in-app guide at `/docs/self-host/email-codes`. To check the hook after a deploy, sign up with an address you own and watch `npx wrangler tail` for the `auth email sent` line.
+The email secrets only matter once Supabase's Send Email hook points at `https://<worker>/api/auth/email-hook`. Set them before turning the hook on: while the hook is on and the secrets are missing, every sign-up and password reset fails with a 503. The full setup (Resend domain, hook, **Confirm email**, rate limit) is in the in-app guide at `/docs/self-host/email-codes`. To check the hook after a deploy, sign up with an address you own and watch `npx wrangler tail` for the `auth email sent` line. Keep Resend's click and open tracking off: its tracking record once took the name `twiligent` and replaced the Pages record for `twiligent.ujjwal.fyi`, which took the site offline until the record was pointed back at `twiligent.pages.dev` (proxied) and the Pages custom domain was reactivated (#37).
## Setting GitHub Actions Secrets
diff --git a/frontend/src/docs/pages/selfHost/EmailCodes.tsx b/frontend/src/docs/pages/selfHost/EmailCodes.tsx
index 4cbb9ce..cc09d33 100644
--- a/frontend/src/docs/pages/selfHost/EmailCodes.tsx
+++ b/frontend/src/docs/pages/selfHost/EmailCodes.tsx
@@ -13,6 +13,7 @@ export default function EmailCodes() {
<Steps>
<Step title="Create a Resend account and verify your domain">
<P>Sign up at <A href="https://resend.com">resend.com</A>. Under <strong>Domains</strong>, add the domain you will send from, such as <Code>example.com</Code>, and add the DNS records Resend shows. Emails from an unverified domain are refused. The free plan allows one domain.</P>
+ <P>Under the domain&apos;s <strong>Configuration</strong>, turn off <strong>Click tracking</strong> and <strong>Open tracking</strong>. Click tracking rewrites the confirmation links, and its tracking record must not reuse a name you already serve, such as the subdomain Twiligent runs on: Resend&apos;s record replaces it and takes the site offline. If Resend lists a <strong>Tracking</strong> record, skip it.</P>
</Step>
<Step title="Create an API key">
<P>Under <strong>API Keys</strong>, create a key with <strong>Sending access</strong> for that domain. Copy it; Resend shows it once.</P>