@ampless/plugin-analytics-ga4 0.2.0-beta.45 → 0.2.0-beta.47

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.
package/README.ja.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  > **プレリリース / ベータ版。** v1.0 までは破壊的変更が入る可能性があります。
9
9
 
10
- descriptor ベースのプラグイン head 注入 API ([plugin architecture](https://github.com/heavymoons/ampless/blob/main/docs/architecture/08-plugin-architecture.ja.md)) を使って、公開ページの `<head>` に GA4 標準の 2 つのスニペットを挿入します。
10
+ descriptor ベースのプラグイン head 注入 API ([plugin architecture](https://github.com/heavymoons/ampless/wiki/architecture-08-plugin-architecture.ja)) を使って、公開ページの `<head>` に GA4 標準の 2 つのスニペットを挿入します。
11
11
 
12
12
  1. 非同期 `gtag.js` ローダー (`https://www.googletagmanager.com/gtag/js?id=...`)
13
13
  2. インライン `gtag('config', '<measurementId>')` のブートストラップ
@@ -82,7 +82,7 @@ Did you forget to register @ampless/plugin-cookie-consent?
82
82
 
83
83
  **プラグインの順序:** `plugins` 配列内で `@ampless/plugin-cookie-consent` を analytics plugin より前に置いてください。runtime はプラグインを順番に処理するため、cookie-consent を先に置くことで analytics の gating ロジック実行時に `window.amplessConsent` が確実に install されます。
84
84
 
85
- Consent Convention および `window.amplessConsent` API の詳細は [docs/architecture/08-plugin-architecture.md](https://github.com/heavymoons/ampless/blob/main/docs/architecture/08-plugin-architecture.md) を参照してください。
85
+ Consent Convention および `window.amplessConsent` API の詳細は [architecture-08-plugin-architecture](https://github.com/heavymoons/ampless/wiki/architecture-08-plugin-architecture) を参照してください。
86
86
 
87
87
  ## measurement ID の取得
88
88
 
package/README.md CHANGED
@@ -7,7 +7,7 @@ Google Analytics 4 plugin for [ampless](https://github.com/heavymoons/ampless).
7
7
 
8
8
  > **Pre-release / beta.** Breaking changes are still possible before v1.0.
9
9
 
10
- Drops the two standard GA4 snippets into every public page's `<head>` through the descriptor-based plugin head injection API ([plugin architecture](https://github.com/heavymoons/ampless/blob/main/docs/architecture/08-plugin-architecture.md)):
10
+ Drops the two standard GA4 snippets into every public page's `<head>` through the descriptor-based plugin head injection API ([plugin architecture](https://github.com/heavymoons/ampless/wiki/architecture-08-plugin-architecture)):
11
11
 
12
12
  1. The async `gtag.js` loader (`https://www.googletagmanager.com/gtag/js?id=...`).
13
13
  2. An inline `gtag('config', '<measurementId>')` bootstrap.
@@ -82,7 +82,7 @@ This warning fires in production too — it is intended to help operators catch
82
82
 
83
83
  **Plugin ordering:** register `@ampless/plugin-cookie-consent` before the analytics plugin in the `plugins` array. The runtime processes plugins in order; placing cookie-consent first ensures `window.amplessConsent` is installed before the analytics gating logic runs.
84
84
 
85
- For full details on the Consent Convention and the `window.amplessConsent` API see [docs/architecture/08-plugin-architecture.md](https://github.com/heavymoons/ampless/blob/main/docs/architecture/08-plugin-architecture.md).
85
+ For full details on the Consent Convention and the `window.amplessConsent` API see [architecture-08-plugin-architecture](https://github.com/heavymoons/ampless/wiki/architecture-08-plugin-architecture).
86
86
 
87
87
  ## Getting your measurement ID
88
88
 
package/dist/index.d.ts CHANGED
@@ -26,7 +26,7 @@ interface AnalyticsGa4Options {
26
26
  * Optional consent category. When set, the analytics loader does
27
27
  * not run until window.amplessConsent.has(consentCategory) returns
28
28
  * true. See @ampless/plugin-cookie-consent and the Consent
29
- * Convention in docs/architecture/08-plugin-architecture.md.
29
+ * Convention in https://github.com/heavymoons/ampless/wiki/architecture-08-plugin-architecture.
30
30
  */
31
31
  consentCategory?: string;
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampless/plugin-analytics-ga4",
3
- "version": "0.2.0-beta.45",
3
+ "version": "0.2.0-beta.47",
4
4
  "description": "Google Analytics 4 plugin for ampless",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "homepage": "https://github.com/heavymoons/ampless/tree/main/packages/plugin-analytics-ga4#readme",
27
27
  "bugs": "https://github.com/heavymoons/ampless/issues",
28
28
  "dependencies": {
29
- "ampless": "1.0.0-beta.61"
29
+ "ampless": "1.0.0-beta.63"
30
30
  },
31
31
  "keywords": [
32
32
  "ampless",