Tracking Scripts
Inject third-party tracking and analytics scripts (Google Tag Manager, GA4, Lead Forensics and custom snippets) site-wide, with a settings screen in the admin.
Plugin
Tracking Scripts
Inject third-party tracking and analytics scripts (Google Tag Manager, GA4, Lead Forensics and custom snippets) site-wide, with a settings screen in the admin.
Inject third-party tracking and analytics scripts (Google Tag Manager, GA4, Lead Forensics and custom snippets) site-wide, with a settings screen in the admin.
Installation
Install the package from npm:
npm install @tribusdigital/emdash-tracking-scripts
Register the plugin in your Astro config:
// astro.config.mjs
import { trackingScriptsPlugin } from '@tribusdigital/emdash-tracking-scripts';
import emdash from 'emdash/astro';
export default defineConfig({
integrations: [
emdash({
plugins: [trackingScriptsPlugin()],
// ...your existing database/storage config
}),
],
});
Details
- Latest version: 0.1.0
- License: MIT
- Publisher: Shane Muirhead
- Requires: EmDash
^1.0.1 - Source repository: https://github.com/ShaneMuir/emdash-tracking-scripts
- npm package: @tribusdigital/emdash-tracking-scripts