Browse Source

chore(explore): Add tag for visiting explore (#82632)

Tony Xiao 2 months ago
parent
commit
1710c08991
1 changed files with 3 additions and 0 deletions
  1. 3 0
      static/app/views/explore/content.tsx

+ 3 - 0
static/app/views/explore/content.tsx

@@ -1,5 +1,6 @@
 import {useCallback, useState} from 'react';
 import styled from '@emotion/styled';
+import * as Sentry from '@sentry/react';
 import type {Location} from 'history';
 
 import Feature from 'sentry/components/acl/feature';
@@ -196,6 +197,8 @@ function ExploreTagsProvider({children}) {
 }
 
 export function ExploreContent(props: ExploreContentProps) {
+  Sentry.setTag('explore.visited', 'yes');
+
   return (
     <PageParamsProvider>
       <ExploreTagsProvider>