Skip to content

Commit

Permalink
Merge pull request #113 from 211-Connect/fix-analytics-bug
Browse files Browse the repository at this point in the history
Add title to referral analytics event
  • Loading branch information
devcshort authored Nov 16, 2023
2 parents 5683a1e + 0bc13fb commit 9ec8229
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/client/lib/hooks/useEventStore/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const createReferralEvent = async (
event: 'referral',
...resource,
...router.query,
title: resource.name,
};

createEvent<ReferralEventProps>(newEvent);
Expand All @@ -101,6 +102,7 @@ export const createReferralEvent = async (
event: referralType,
...resource,
...router.query,
title: resource.name,
};

createEvent<ReferralEventProps>(newEvent);
Expand Down

0 comments on commit 9ec8229

Please sign in to comment.