Skip to content

improve template metrics - #143

Merged
reynaldichernando merged 3 commits into
mainfrom
template-metrics
Nov 3, 2026
Merged

reynaldichernando merged 3 commits into
mainfrom
template-metrics

Conversation

@reynaldichernando

Copy link
Copy Markdown
Member

No description provided.

reynaldichernando and others added 3 commits November 3, 2026 03:30
…review

A /?template= link to a template that no longer exists now sends Template
Use Failed (stage unavailable, source page or link). The check inside
forkTemplate stays as a safeguard, but its callers have already found the
template, so it never fired.

A copy that fails while the project is being put together is now reported
at the save stage, not files. Project Published's fallback event and
Unblocked After Limit now carry the template too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plausible filters a property by its value, not by whether it is there, so
a template prop that is only present on forks can't be filtered on. Every
event that carries template now also sends from_template, true for a
project copied from a template and false for one from scratch.

Usage limit records now save the template as '' for a project from
scratch, so a record saved before this change reports neither prop
rather than a wrong false.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@reynaldichernando
reynaldichernando merged commit 24e7c6c into main Nov 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant