Skip to content

Commit

Permalink
fixing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TalBenAvi committed Mar 5, 2024
1 parent eba65f8 commit ecba8f6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ const ProvisionsPopup = () => {
!isSsr
);
const pageView = (target: string) =>
window?.dataLayer.push({ event: "page_view", target });
window.gtag("event", target, {
event_category: "engagement",
});

const gtmEvent = (event: string) => window?.dataLayer.push({ event });
const gtmEventClickReadMore = () => gtmEvent("Provisions_popup_click");
Expand Down

0 comments on commit ecba8f6

Please sign in to comment.