Skip to content

Commit

Permalink
Revert "use sentry to log if pageviewId not available on event listing (
Browse files Browse the repository at this point in the history
#6694)"

This reverts commit 1510ef7.
  • Loading branch information
GHaberis authored Jan 20, 2025
1 parent b622ec4 commit eec6c40
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { guardianLiveTermsLink, privacyLink } from 'helpers/legal';
import * as cookie from 'helpers/storage/cookie';
import { getPageViewId } from 'helpers/tracking/trackingOphan';
import { isProd } from 'helpers/urls/url';
import { logException } from 'helpers/utilities/logger';
import type { GeoId } from 'pages/geoIdConfig';

const darkBackgroundContainerMobile = css`
Expand Down Expand Up @@ -103,11 +102,6 @@ export function Events({ geoId }: Props) {
const privacyPolicy = <a href={privacyLink}>Privacy Policy</a>;

const pageviewId = getPageViewId();

if (!pageviewId) {
logException('pageviewId not available on event listing');
}

const hashUrlSearchParams = new URLSearchParams({
'p[meta_page_view_id]': pageviewId,
'p[meta_region_id]': geoId,
Expand Down

0 comments on commit eec6c40

Please sign in to comment.