mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-28 07:20:49 -04:00
fix(tracking): Respecting no-tracking from handling
This commit is contained in:
parent
e1027cf5f8
commit
866f3f4db6
@ -29,6 +29,7 @@ export const plugin = function ({app}) {
|
|||||||
|
|
||||||
if (trackerOverride.handling === false) {
|
if (trackerOverride.handling === false) {
|
||||||
console.debug("[analytics] Page is blocked from tracking");
|
console.debug("[analytics] Page is blocked from tracking");
|
||||||
|
return;
|
||||||
} else if (typeof trackerOverride.handling === "function") {
|
} else if (typeof trackerOverride.handling === "function") {
|
||||||
handler = trackerOverride.handling;
|
handler = trackerOverride.handling;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user