Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit ca24f65

Browse files
author
stevebagwell
committed
remove unused variable and update comment
1 parent 92d9bbe commit ca24f65

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

themes/material/common-head-elements.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
<?php
99
$trackingId = htmlentities($this->configuration->getValue('analytics.trackingId'));
10-
$hasGATracking = false;
1110

1211
if (! empty($trackingId)) {
1312
?>
@@ -30,8 +29,8 @@
3029
?>
3130

3231
<?php
33-
// This block of code is intended to be temporary until the transition from
34-
// Google's Universal Analytics to GA4 type projects has been completed
32+
// This block of code is intended to replace the old window.ga code (above) once
33+
// the transition from Google's Universal Analytics to GA4 type projects has been completed
3534
$trackingIdGA4 = htmlentities($this->configuration->getValue('analytics.trackingIdGA4'));
3635
if (! empty($trackingIdGA4)) {
3736
?>

0 commit comments

Comments
 (0)