From a7bafd8840a33708b87eb91ba87b24e870bcaf7d Mon Sep 17 00:00:00 2001
From: Jeremy Ruston <174761+Jermolene@users.noreply.github.com>
Date: Fri, 14 Jul 2023 12:41:55 +0100
Subject: [PATCH] Google Analytics: tweaks
---
plugins/tiddlywiki/googleanalytics/googleanalytics.js | 2 +-
plugins/tiddlywiki/googleanalytics/settings.tid | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/plugins/tiddlywiki/googleanalytics/googleanalytics.js b/plugins/tiddlywiki/googleanalytics/googleanalytics.js
index 617a7a17a..ef333ffb9 100644
--- a/plugins/tiddlywiki/googleanalytics/googleanalytics.js
+++ b/plugins/tiddlywiki/googleanalytics/googleanalytics.js
@@ -3,7 +3,7 @@ title: $:/plugins/tiddlywiki/googleanalytics/googleanalytics.js
type: application/javascript
module-type: startup
-Runs Google Analytics with the account number in the tiddler `$:/GoogleAnalyticsAccount` and the domain name in `$:/GoogleAnalyticsDomain`
+Runs Google Analytics with the measurement ID in the tiddler `$:/GoogleAnalyticsMeasurementID`
\*/
(function(){
diff --git a/plugins/tiddlywiki/googleanalytics/settings.tid b/plugins/tiddlywiki/googleanalytics/settings.tid
index 976b052c5..7a38ee848 100644
--- a/plugins/tiddlywiki/googleanalytics/settings.tid
+++ b/plugins/tiddlywiki/googleanalytics/settings.tid
@@ -1,6 +1,4 @@
title: $:/plugins/tiddlywiki/googleanalytics/settings
-You have only two value to set, only the first is mandatory:
-
-# ''[[Google Analytics Measurement ID|$:/GoogleAnalyticsMeasurementID]]'': (mandatory) a code of the form `G-XXXXXXXXXX` where X are digits or uppercase letters
<$edit-text tiddler="$:/GoogleAnalyticsMeasurementID" default="" tag="input"/>
+''[[Google Analytics Measurement ID|$:/GoogleAnalyticsMeasurementID]]'': (mandatory) a code of the form `G-XXXXXXXXXX` where X are digits or uppercase letters
<$edit-text tiddler="$:/GoogleAnalyticsMeasurementID" default="" tag="input"/>