Skip to content

Commit

Permalink
Workaround until referrer is accepted by API as an empty string (#2656)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse authored Dec 20, 2024
1 parent c71d159 commit 6ba3ae7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function transformEvents(input: {
userAgent: window.navigator.userAgent,
language: window.navigator.language,
cookies: cookies.get(),
referrer: document.referrer,
referrer: document.referrer || null,
};

const location: api.SiteInsightsEventLocation = {
Expand Down

0 comments on commit 6ba3ae7

Please sign in to comment.