From c1ab797037255a92e2841fede74f9dbf3a379180 Mon Sep 17 00:00:00 2001 From: Ian Morland Date: Sun, 21 Jun 2020 10:47:04 +0100 Subject: [PATCH] Fix errors when only Google tracking code is provided --- resources/js/google-optimize.html | 19 +++++++++++++++++++ resources/js/google-tag-manager.html | 18 ------------------ src/Listeners/AddTrackingJs.php | 28 ++++++++++++++++++---------- 3 files changed, 37 insertions(+), 28 deletions(-) create mode 100644 resources/js/google-optimize.html diff --git a/resources/js/google-optimize.html b/resources/js/google-optimize.html new file mode 100644 index 0000000..6a3fd10 --- /dev/null +++ b/resources/js/google-optimize.html @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/resources/js/google-tag-manager.html b/resources/js/google-tag-manager.html index f6b34c5..e72c112 100644 --- a/resources/js/google-tag-manager.html +++ b/resources/js/google-tag-manager.html @@ -1,21 +1,3 @@ - - - - - - -