Skip to content

Commit

Permalink
Merge pull request #1733 from laws-africa/matomo
Browse files Browse the repository at this point in the history
ts-ignore
  • Loading branch information
longhotsummer authored Feb 19, 2024
2 parents 4598fdc + afe3945 commit e9c8b16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions peachjam/js/peachjam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ class PeachJam {

clearGACookies () {
// if window.dataLayer is not set, then Google Analytics is not enabled, but there may be cookies still set; clear them
// @ts-ignore
if (!window.dataLayer) {
const cookies = document.cookie.split(';');
for (let i = 0; i < cookies.length; i++) {
Expand Down

0 comments on commit e9c8b16

Please sign in to comment.