mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-24 06:04:26 +08:00
fix: remove integrations page view and add event for the same (#4802)
This commit is contained in:
parent
a47d3289d0
commit
c76cef47ba
@ -15,7 +15,7 @@ function Integrations(): JSX.Element {
|
||||
const history = useHistory();
|
||||
const location = useLocation();
|
||||
|
||||
const { trackPageView, trackEvent } = useAnalytics();
|
||||
const { trackEvent } = useAnalytics();
|
||||
|
||||
const selectedIntegration = useMemo(() => urlQuery.get('integration'), [
|
||||
urlQuery,
|
||||
@ -42,7 +42,7 @@ function Integrations(): JSX.Element {
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
trackPageView(location.pathname);
|
||||
trackEvent(INTEGRATION_TELEMETRY_EVENTS.INTEGRATIONS_LIST_VISITED);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
|
@ -9,6 +9,7 @@ export const handleContactSupport = (isCloudUser: boolean): void => {
|
||||
};
|
||||
|
||||
export const INTEGRATION_TELEMETRY_EVENTS = {
|
||||
INTEGRATIONS_LIST_VISITED: 'Integrations Page: Visited the list page',
|
||||
INTEGRATIONS_ITEM_LIST_CLICKED: 'Integrations Page: Clicked an integration',
|
||||
INTEGRATIONS_DETAIL_CONNECT:
|
||||
'Integrations Detail Page: Clicked connect integration button',
|
||||
|
Loading…
x
Reference in New Issue
Block a user