Skip to content

calevans/staticforge-google-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StaticForge GoogleAnalytics

A StaticForge feature package.

Copyright 2025, Cal Evans
License: MIT

Installation

composer require calevans/staticforge-google-analytics
php vendor/bin/staticforge feature:setup GoogleAnalytics

Configuration

Add the following to your siteconfig.yaml:

# Google Analytics Configuration
google_analytics:
  enabled: true
  # tracking_id is set in .env as GOOGLE_ANALYTICS_ID

And add your tracking ID to your .env file:

GOOGLE_ANALYTICS_ID="UA-XXXXX-Y"

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors