-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathwrangler.toml.example
More file actions
52 lines (50 loc) · 2.44 KB
/
Copy pathwrangler.toml.example
File metadata and controls
52 lines (50 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name = "__REPLACE_ME_PROJECT_NAME__"
compatibility_date = "2025-03-01"
pages_build_output_dir = "."
[[d1_databases]]
binding = "DB"
database_name = "__REPLACE_ME_DB_NAME__"
database_id = "__REPLACE_ME_DB_ID__"
# ---------------------------------------------------------------------------
# The `deploy-stack` skill fills in the three __REPLACE_ME_*__ values
# after running `wrangler d1 create`. Do not edit this file manually unless
# you know what you're doing — copy it to `wrangler.toml` (which is gitignored)
# and edit that copy.
#
# This local `wrangler.toml` is NOT what Cloudflare Pages reads at deploy
# time. Cloudflare Pages with git integration ignores it entirely; the file
# exists so that (a) `wrangler d1 migrations apply` can find your database,
# and (b) `wrangler pages dev` works for local development.
#
# Secrets and the PRODUCTION D1 binding are configured manually in the
# Cloudflare dashboard — Pages project → Settings → Environment variables
# (for secrets) and Settings → Bindings (for the D1 binding, which MUST be
# named `DB` to match the code). The `deploy-stack` skill walks you through
# the dashboard UI; it only generates `DASH_KEY` and webhook slugs locally
# and prints them for you to paste.
#
# Required environment variables (set in the Cloudflare dashboard):
# META_PIXEL_ID Meta Pixel numeric ID
# META_ACCESS_TOKEN Meta CAPI long-lived access token
# GA4_MEASUREMENT_ID GA4 Measurement ID (G-XXXXXXXXXX)
# GA4_API_SECRET GA4 Measurement Protocol API secret
# DASH_KEY Random string to gate the dashboard
#
# Optional (leave unset to skip that integration):
# META_TEST_EVENT_CODE Meta test-events code for debugging
# TIMEZONE_OFFSET ISO offset like "-03:00" for Google Ads timestamps
# DEFAULT_COUNTRY_CODE Calling code prepended to local-format phones
# before hashing for Meta CAPI (default "55" Brazil;
# set to "1" US/CA, "44" UK, "351" PT, etc.)
# GOOGLE_ADS_CLIENT_ID
# GOOGLE_ADS_CLIENT_SECRET
# GOOGLE_ADS_REFRESH_TOKEN
# GOOGLE_ADS_DEVELOPER_TOKEN
# GOOGLE_ADS_CUSTOMER_ID
# GOOGLE_ADS_LOGIN_CUSTOMER_ID
# ENCHARGE_API_KEY
# MANYCHAT_KEY
# EDUZZ_WEBHOOK_SLUG UUID v4 in URL path (generate per recipient; see deploy-stack)
# HOTMART_WEBHOOK_SLUG same pattern
# KIWIFY_WEBHOOK_SLUG same pattern
# ---------------------------------------------------------------------------