mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 08:14:33 +00:00
BREAKING CHANGE Module paths moved to `github.com/HugoBlox/kit` with new names: - core `blox-tailwind` → `blox` - analytics → `analytics` - netlify → `integrations/netlify` - slides (reveal) → `slides` Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
28 lines
710 B
Markdown
28 lines
710 B
Markdown
# Analytics module
|
|
|
|
**A Hugo Blox module for website analytics and search engine verification.**
|
|
|
|
Are you using the `blox` module? The analytics module is already included, so you do not need to install it. For all other sites, refer to the installation guide below.
|
|
|
|
## Install
|
|
|
|
Get analytics and verification for your Hugo site by following the guide below:
|
|
|
|
1. Add the module to your `config/_default/hugo.yaml`:
|
|
|
|
```yaml
|
|
module:
|
|
imports:
|
|
- path: github.com/HugoBlox/kit/modules/analytics
|
|
```
|
|
|
|
2. Load the module in your site's `<head>` with:
|
|
|
|
```go
|
|
{{ partial "blox-analytics/index" . }}
|
|
```
|
|
|
|
## Usage
|
|
|
|
[View the documentation](https://docs.hugoblox.com/reference/analytics/)
|