Moorage Analytics
為 EmDash 提供 Google Analytics、Google Tag Manager、Meta Pixel 和 Clarity,並帶有在訪客同意前暫緩載入它們的 Cookie 同意橫幅。
外掛
Moorage Analytics
為 EmDash 提供 Google Analytics、Google Tag Manager、Meta Pixel 和 Clarity,並帶有在訪客同意前暫緩載入它們的 Cookie 同意橫幅。
為 EmDash 提供 Google Analytics、Google Tag Manager、Meta Pixel 和 Clarity,並帶有在訪客同意前暫緩載入它們的 Cookie 同意橫幅。
安裝
從 npm 安裝此套件:
npm install @moorage/plugin-analytics
在 Astro 設定中註冊此外掛:
// astro.config.mjs
import { analyticsPlugin } from "@moorage/plugin-analytics";
import emdash from "emdash/astro";
export default defineConfig({
integrations: [emdash({ plugins: [analyticsPlugin()] })],
});
詳細資訊
- 最新版本: 0.4.4
- 授權條款: MIT
- 發布者: Moorage
- 需求: EmDash
>=1.2.0 - 原始碼儲存庫: https://github.com/moorage-dev/moorage
- npm 套件: @moorage/plugin-analytics