diff --git a/layouts/shortcodes/capture.html b/layouts/shortcodes/capture.html
index 6cb2e5a9c9..cc762273c3 100644
--- a/layouts/shortcodes/capture.html
+++ b/layouts/shortcodes/capture.html
@@ -3,5 +3,6 @@
{{- if not $id -}}
{{- errorf "missing id in capture" -}}
{{- end -}}
-{{- $capture_id := printf "__cid_%s" $id -}}
-{{- .Page.Scratch.Set $capture_id .Inner -}}
\ No newline at end of file
+{{- $capture_id := printf "capture %s" $id -}}
+{{- .Page.Scratch.Set $capture_id .Inner -}}
+{{ warnf "Invalid shortcode: %s, in %q" $capture_id (relLangURL .Page.Path) }}
\ No newline at end of file