Repository navigation
feat(website): enable the contact form and analytics - #109
Merged
Merged
Conversation
Sets the real Web3Forms access key and the GA4 measurement ID, which were shipped as deliberate placeholders. Both flips are load-bearing for the privacy page, which stated as fact that no measurement ID was configured and that the form was switched off. Those two sentences would have become false the moment this config changed, on the one page where being wrong actually matters. Rather than hand-editing them, both are now driven by the config they describe: the analytics paragraph branches on `site.ga_id`, and the third-party-services paragraph derives `form_live` from `web3forms_key` using the same no-`not contains` guard `contact.md` already uses. The page promised it would "keep saying which of the two is true"; now it does that by construction, in both directions, so clearing either key restores the safe wording automatically. Verified on a production build: - GA4 is present as `G-14LYCBCVLS` but there is **no** unconditional `<script src=...googletagmanager...>`. gtag is still injected only by `loadGoogleAnalytics`, after Accept or a stored unexpired `granted` choice. Emission stays double-gated on production AND a non-empty id, so local `jekyll serve` loads no analytics. - The contact page now renders the real form with hCaptcha; the "not wired up yet" fallback is gone. - The privacy page reads "analytics is switched on" and "the form is live". - No em-dashes or en-dashes anywhere in the built output. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The value was a placeholder constructed from the applicationId. It is now the confirmed listing URL for tech.idct.stickermaker, supplied by the owner. The listing is not serving yet, so the link 404s until the app is published; the URL itself is final. All 18 Play links on the site come from this one key, including the JSON-LD downloadUrl, which was checked to still parse as valid JSON with the query string intact rather than an HTML entity. `pli=1` is Google's post-login-interstitial flag and comes from a signed-in browser session rather than the listing itself. It was requested explicitly and is harmless, but the comment in _config.yml records that it is not part of the canonical URL, since the sibling sites deliberately carry no session or campaign parameters on their store links. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets the two values that shipped as deliberate placeholders:
web3forms_key→ the real Web3Forms access keyga_id→G-14LYCBCVLSWhy this is more than a config edit
privacy.mdstated as fact that no measurement ID was configured and that the form was switched off. Both sentences become false the instant this config changes - on the one page where being wrong actually matters.So rather than hand-editing them, both statements are now derived from the config they describe:
site.ga_idform_livefromweb3forms_key, using the sameassign-a-boolean guardcontact.mdalready uses (Liquid has nonot contains)The page promised it would "keep saying which of the two is true". Now it does that by construction, in both directions: clearing either key restores the safe wording automatically.
Verified on a production build
G-14LYCBCVLS, but there is no unconditional<script src=...googletagmanager...>. gtag is still injected only byloadGoogleAnalytics, after Accept or a stored unexpiredgrantedchoice. Reject or no choice means nothing is requested from Google.JEKYLL_ENV=productionAND a non-emptyga_id, so a localjekyll servestill loads no analytics.--baseurl "/sticker-maker".website/README.md's launch checklist marks items 1 and 2 done and records that the guards remain in place.🤖 Generated with Claude Code