Skip to content

Commit

Permalink
Add fallback for the multiple gtag service Fix #1247
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauriC committed Jun 5, 2024
1 parent 307e32a commit aeec8e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tarteaucitron.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -5330,6 +5330,11 @@ tarteaucitron.services.multiplegtag = {
});
});
}
},
"fallback": function () {
if (tarteaucitron.parameters.googleConsentMode === true) {
this.js();
}
}
};

Expand Down
2 changes: 1 addition & 1 deletion tarteaucitron.services.min.js

Large diffs are not rendered by default.

0 comments on commit aeec8e4

Please sign in to comment.