mirror of
https://github.com/lipis/flag-icons.git
synced 2024-11-21 18:38:57 +01:00
Switch event
This commit is contained in:
parent
d086049cd9
commit
2063492e36
@ -74,6 +74,10 @@ const show4x3 = () => {
|
||||
console.log(flag);
|
||||
flag.classList.add("hide");
|
||||
}
|
||||
gtag("event", "switch", {
|
||||
event_category: "flags",
|
||||
event_label: "4x3",
|
||||
});
|
||||
};
|
||||
|
||||
const show1x1 = () => {
|
||||
@ -91,6 +95,11 @@ const show1x1 = () => {
|
||||
console.log(flag);
|
||||
flag.classList.add("hide");
|
||||
}
|
||||
|
||||
gtag("event", "switch", {
|
||||
event_category: "flags",
|
||||
event_label: "1x1",
|
||||
});
|
||||
};
|
||||
|
||||
window.onload = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user