Google Analytics (GAL) provides access to a massive amount of data related to how users find and interact with your site. For example, you can see how many people visited a specific page, how long they remained there, where your users live, how certain keywords perform, and so forth.
J1 is different: easy to use, no programming is needed.
Google Analytics
Google Analytics is integrated by pure configuration. Simply enable the provider and set your your access credentials to the configuration, and you’re done.
Google Analytics configuration
# ------------------------------------------------------------------------------
# ~/_data/modules/analytics.yml
# User configuration settings for J1 Analytics module
#
# Product/Info:
# https://jekyll.one
#
# Copyright (C) 2023-2026 Juergen Adams
#
# J1 Template is licensed under the MIT License.
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# Description
#
description:
title: J1 Analytics
scope: User settings
location: _data/modules/analytics.yml
# ------------------------------------------------------------------------------
# User configuration settings
#
settings:
enabled: false
# ----------------------------------------------------------------------------
# GENERAL options
# ----------------------------------------------------------------------------
#
skipAllHosts: localhost, 127.0.0.1
trackingID: <your-tracking-id>
# ----------------------------------------------------------------------------
# Provider settings
# ----------------------------------------------------------------------------
google:
anonymizeIP: false
# ------------------------------------------------------------------------------
# END configGAL is fully integrated with the GDPR-compatible Cookie Consent module. If your visitors do not agree on cooies for Analysis, Google Analytics gets automatically disabled and all cookies from Google are deleted from the user’s system.