Skip to content

Commit

Permalink
Add Hugo Faro Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
cbos committed Nov 24, 2023
1 parent 53cf299 commit 9c040d1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "themes/introduction"]
path = themes/introduction
url = https://github.com/victoriadrake/hugo-theme-introduction.git
[submodule "themes/faro-analytics"]
path = themes/faro-analytics
url = https://github.com/cbos/hugo-faro-analytics.git
9 changes: 8 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ defaultContentLanguage = "nl"
facebook = false
pinterest = false


[params.faro_analytics]
endpoint = "https://faro-collector-prod-eu-west-3.grafana.net/collect/eb9701ade6412937233855fcc8c664b3"
name = "app.hervormdputten.nl"
version = "1.0.0"

[module]
[[module.imports]]
path = 'faro-analytics'

# If you don't want to use the default menu, you can define one by yourself
# [[menu.main]]
Expand Down
2 changes: 2 additions & 0 deletions layouts/partials/head/favicons.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
<link rel="icon" type="image/png" href="{{ "favicons/android-96x96.png" | relURL }}" sizes="96x96">
<link rel="icon" type="image/png" href="{{ "favicons/android-144x144.png" | relURL }}" sizes="144x144">
<link rel="icon" type="image/png" href="{{ "favicons/android-192x192.png" | relURL }}" sizes="192x192">

{{ partial "faro-analytics/assets/js" . }}
1 change: 1 addition & 0 deletions themes/faro-analytics
Submodule faro-analytics added at 0aa4ec

0 comments on commit 9c040d1

Please sign in to comment.