Skip to content

Commit

Permalink
Change fathom event to not track the year, due to using the value fun…
Browse files Browse the repository at this point in the history
…ctionality wrong.
  • Loading branch information
edvinlinden committed Dec 10, 2023
1 parent 77ec28a commit fac8f47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/YearNavigationBar/YearNavigationBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ const YearNavigationBar: React.FC<YearNavigationBarInterface> = ({
location.hash = "#" + year;

if (!disableTracking) {
window.fathom.trackEvent("Change year", {
_value: year,
});
window.fathom.trackEvent("Change year");
}
};

Expand Down

0 comments on commit fac8f47

Please sign in to comment.