al_analytics provides analytics integrations for al-folio v1.x and compatible Jekyll sites.
- Google Analytics
- Cronitor Analytics
- Pirsch Analytics
- OpenPanel Analytics
gem 'al_analytics'plugins:
- al_analyticsConfigure analytics in _config.yml:
enable_cookie_consent: false
enable_google_analytics: true
google_analytics: "G-XXXXXXXXXX"
enable_cronitor_analytics: false
cronitor_analytics: "XXXXXXXXX"
enable_pirsch_analytics: false
pirsch_analytics: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
enable_openpanel_analytics: false
openpanel_analytics: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"Render scripts in your layout:
{% al_analytics_scripts %}Legacy analytics: hash configuration is still supported.
- Starter wiring happens in
al-folio(Gemfile+_config.yml). - Consent/runtime coordination can be combined with
al_cookie.
Provider/runtime changes belong here. Starter-only docs/demo updates belong in al-folio.