create-ampless 1.0.0-alpha.63 → 1.0.0-alpha.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  import { defineConfig } from 'ampless'
2
2
  import seoPlugin from '@ampless/plugin-seo'
3
3
  import rssPlugin from '@ampless/plugin-rss'
4
+ // import analyticsGa4Plugin from '@ampless/plugin-analytics-ga4'
4
5
  // import webhookPlugin from '@ampless/plugin-webhook'
5
6
  // import ogImagePlugin, { loadFontFromUrl } from '@ampless/plugin-og-image'
6
7
 
@@ -68,6 +69,15 @@ export default defineConfig({
68
69
  // ],
69
70
  // }),
70
71
  //
72
+ // Google Analytics 4. Once registered here, the measurement ID can be
73
+ // edited from `/admin/plugins` without a redeploy — the constructor
74
+ // value below is just the initial default. Pass an empty string to
75
+ // disable the GA tag entirely. See packages/ampless/docs/plugin-author-guide.md.
76
+ //
77
+ // analyticsGa4Plugin({
78
+ // measurementId: '', // 'G-XXXXXXXX' to enable
79
+ // }),
80
+ //
71
81
  // Per-post OG images: SNS crawlers hit `/og/<slug>` and we render
72
82
  // a JSX card → PNG via Next.js `ImageResponse`. Requires at least one
73
83
  // font — ship a .ttf from your CDN or `/public` directory.
@@ -25,6 +25,7 @@
25
25
  "@tiptap/pm": "^3.23.6",
26
26
  "@tiptap/react": "^3.23.6",
27
27
  "@tiptap/starter-kit": "^3.23.6",
28
+ "@ampless/plugin-analytics-ga4": "^0.2.0-alpha.1",
28
29
  "@ampless/plugin-og-image": "^0.2.0-alpha.18",
29
30
  "@ampless/plugin-rss": "^0.2.0-alpha.18",
30
31
  "@ampless/plugin-seo": "^0.2.0-alpha.18",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ampless",
3
- "version": "1.0.0-alpha.63",
3
+ "version": "1.0.0-alpha.64",
4
4
  "description": "Create a new ampless project",
5
5
  "license": "MIT",
6
6
  "type": "module",