Add external link tracking
All checks were successful
/ build-artifacts (push) Successful in 1m15s

This commit is contained in:
Tobias Reisinger 2025-01-09 15:39:47 +01:00
parent 28b6678c30
commit 0061dbd55e
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,5 @@
name: Reitanlage Oranienburg name: Reitanlage Oranienburg
version: 1.4.7 version: 1.4.8
description: Design der Reitanlage Oranienburg description: Design der Reitanlage Oranienburg
icon: rebel icon: rebel
author: author:
@ -31,6 +31,9 @@ form:
umami.url: umami.url:
type: text type: text
label: URL to load umami script from label: URL to load umami script from
umami.url_external_tracking:
type: text
label: URL to load umami external tracking script from
custom_logo: custom_logo:
type: file type: file
label: Logo label: Logo

View file

@ -1,6 +1,6 @@
{ {
"name": "reitanlage-oranienburg", "name": "reitanlage-oranienburg",
"version": "1.4.6", "version": "1.4.8",
"description": "The Reitanlage Oranienburg Theme for Grav CMS.", "description": "The Reitanlage Oranienburg Theme for Grav CMS.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View file

@ -95,6 +95,7 @@
{% if theme_var('umami.enabled') %} {% if theme_var('umami.enabled') %}
<script async defer data-website-id="{{ theme_var('umami.id') }}" src="{{ theme_var('umami.url') }}"></script> <script async defer data-website-id="{{ theme_var('umami.id') }}" src="{{ theme_var('umami.url') }}"></script>
<script async defer src="{{ theme_var('umami.url_external_tracking') }}"></script>
{% endif %} {% endif %}
</html> </html>