Skip to content

Commit

Permalink
Merge pull request #89 from edvinlinden/new-year-navigation
Browse files Browse the repository at this point in the history
Change fathom event to not track the year, due to using the value fun…
  • Loading branch information
edvinlinden authored Dec 10, 2023
2 parents c09d5f4 + fac8f47 commit 1846be0
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 1846be0

Please sign in to comment.