mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 05:19:04 +08:00
chore(trial end): analytics events added (#6048)
This commit is contained in:
parent
44a3469b9b
commit
9b42326f80
@ -32,4 +32,5 @@ function CustomerStoryCard({
|
|||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default CustomerStoryCard;
|
export default CustomerStoryCard;
|
||||||
|
@ -54,6 +54,23 @@ export default function WorkspaceBlocked(): JSX.Element {
|
|||||||
data: licensesData,
|
data: licensesData,
|
||||||
} = useLicense();
|
} = useLicense();
|
||||||
|
|
||||||
|
useEffect((): void => {
|
||||||
|
logEvent('Trial: Blocker Screen Viewed', {});
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
const handleContactUsClick = (): void => {
|
||||||
|
logEvent('Trial: Contact Us CTA Clicked', {});
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleTabClick = (key: string): void => {
|
||||||
|
logEvent('Trial: Blocked Screen Tabs Clicked', { tabKey: key });
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleCollapseChange = (key: string | string[]): void => {
|
||||||
|
const lastKey = Array.isArray(key) ? key.slice(-1)[0] : key;
|
||||||
|
logEvent('Trial: Blocker Screen Tab FAQ Item Clicked', { panelKey: lastKey });
|
||||||
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!isFetchingLicenseData) {
|
if (!isFetchingLicenseData) {
|
||||||
const shouldBlockWorkspace = licensesData?.payload?.workSpaceBlock;
|
const shouldBlockWorkspace = licensesData?.payload?.workSpaceBlock;
|
||||||
@ -135,7 +152,7 @@ export default function WorkspaceBlocked(): JSX.Element {
|
|||||||
|
|
||||||
const tabItems: TabsProps['items'] = [
|
const tabItems: TabsProps['items'] = [
|
||||||
{
|
{
|
||||||
key: '1',
|
key: 'whyChooseSignoz',
|
||||||
label: t('whyChooseSignoz'),
|
label: t('whyChooseSignoz'),
|
||||||
children: (
|
children: (
|
||||||
<Row align="middle" justify="center">
|
<Row align="middle" justify="center">
|
||||||
@ -182,7 +199,7 @@ export default function WorkspaceBlocked(): JSX.Element {
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '2',
|
key: 'youAreInGoodCompany',
|
||||||
label: t('youAreInGoodCompany'),
|
label: t('youAreInGoodCompany'),
|
||||||
children: (
|
children: (
|
||||||
<Row gutter={[24, 16]} justify="center">
|
<Row gutter={[24, 16]} justify="center">
|
||||||
@ -224,7 +241,7 @@ export default function WorkspaceBlocked(): JSX.Element {
|
|||||||
// children: 'Our Pricing',
|
// children: 'Our Pricing',
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
key: '4',
|
key: 'faqs',
|
||||||
label: t('faqs'),
|
label: t('faqs'),
|
||||||
children: (
|
children: (
|
||||||
<Row align="middle" justify="center">
|
<Row align="middle" justify="center">
|
||||||
@ -234,7 +251,11 @@ export default function WorkspaceBlocked(): JSX.Element {
|
|||||||
direction="vertical"
|
direction="vertical"
|
||||||
className="workspace-locked__faq-container"
|
className="workspace-locked__faq-container"
|
||||||
>
|
>
|
||||||
<Collapse items={faqData} defaultActiveKey={['1']} />
|
<Collapse
|
||||||
|
items={faqData}
|
||||||
|
defaultActiveKey={['signoz-cloud-vs-community']}
|
||||||
|
onChange={handleCollapseChange}
|
||||||
|
/>
|
||||||
{isAdmin && (
|
{isAdmin && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -272,6 +293,7 @@ export default function WorkspaceBlocked(): JSX.Element {
|
|||||||
size="middle"
|
size="middle"
|
||||||
href="mailto:cloud-support@signoz.io"
|
href="mailto:cloud-support@signoz.io"
|
||||||
role="button"
|
role="button"
|
||||||
|
onClick={handleContactUsClick}
|
||||||
>
|
>
|
||||||
Contact Us
|
Contact Us
|
||||||
</Button>
|
</Button>
|
||||||
@ -355,7 +377,11 @@ export default function WorkspaceBlocked(): JSX.Element {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="workspace-locked__tabs">
|
<div className="workspace-locked__tabs">
|
||||||
<Tabs items={tabItems} defaultActiveKey="2" />
|
<Tabs
|
||||||
|
items={tabItems}
|
||||||
|
defaultActiveKey="youAreInGoodCompany"
|
||||||
|
onTabClick={handleTabClick}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
@ -42,7 +42,7 @@ export const enterpriseGradeValuesData = [
|
|||||||
|
|
||||||
export const customerStoriesData = [
|
export const customerStoriesData = [
|
||||||
{
|
{
|
||||||
key: 'c-story-1',
|
key: 'story-subomi-oluwalana',
|
||||||
avatar: 'https://signoz.io/img/users/subomi-oluwalana.webp',
|
avatar: 'https://signoz.io/img/users/subomi-oluwalana.webp',
|
||||||
personName: 'Subomi Oluwalana',
|
personName: 'Subomi Oluwalana',
|
||||||
role: 'Founder & CEO at Convoy',
|
role: 'Founder & CEO at Convoy',
|
||||||
@ -53,7 +53,7 @@ export const customerStoriesData = [
|
|||||||
'https://www.linkedin.com/feed/update/urn:li:activity:7212117589068591105/',
|
'https://www.linkedin.com/feed/update/urn:li:activity:7212117589068591105/',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'c-story-2',
|
key: 'story-dhruv-garg',
|
||||||
avatar: 'https://signoz.io/img/users/dhruv-garg.webp',
|
avatar: 'https://signoz.io/img/users/dhruv-garg.webp',
|
||||||
personName: 'Dhruv Garg',
|
personName: 'Dhruv Garg',
|
||||||
role: 'Tech Lead at Nudge',
|
role: 'Tech Lead at Nudge',
|
||||||
@ -64,7 +64,7 @@ export const customerStoriesData = [
|
|||||||
'https://www.linkedin.com/posts/dhruv-garg79_signoz-docker-kubernetes-activity-7205163679028240384-Otlb/',
|
'https://www.linkedin.com/posts/dhruv-garg79_signoz-docker-kubernetes-activity-7205163679028240384-Otlb/',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'c-story-3',
|
key: 'story-vivek-bhakta',
|
||||||
avatar: 'https://signoz.io/img/users/vivek-bhakta.webp',
|
avatar: 'https://signoz.io/img/users/vivek-bhakta.webp',
|
||||||
personName: 'Vivek Bhakta',
|
personName: 'Vivek Bhakta',
|
||||||
role: 'CTO at Wombo AI',
|
role: 'CTO at Wombo AI',
|
||||||
@ -74,7 +74,7 @@ export const customerStoriesData = [
|
|||||||
link: 'https://x.com/notorious_VB/status/1701773119696904242',
|
link: 'https://x.com/notorious_VB/status/1701773119696904242',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'c-story-4',
|
key: 'story-pranay-narang',
|
||||||
avatar: 'https://signoz.io/img/users/pranay-narang.webp',
|
avatar: 'https://signoz.io/img/users/pranay-narang.webp',
|
||||||
personName: 'Pranay Narang',
|
personName: 'Pranay Narang',
|
||||||
role: 'Engineering at Azodha',
|
role: 'Engineering at Azodha',
|
||||||
@ -84,7 +84,7 @@ export const customerStoriesData = [
|
|||||||
link: 'https://x.com/PranayNarang/status/1676247073396752387',
|
link: 'https://x.com/PranayNarang/status/1676247073396752387',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'c-story-4',
|
key: 'story-Sheheryar-Sewani',
|
||||||
avatar: 'https://signoz.io/img/users/shey.webp',
|
avatar: 'https://signoz.io/img/users/shey.webp',
|
||||||
personName: 'Sheheryar Sewani',
|
personName: 'Sheheryar Sewani',
|
||||||
role: 'Seasoned Rails Dev & Founder',
|
role: 'Seasoned Rails Dev & Founder',
|
||||||
@ -95,7 +95,7 @@ export const customerStoriesData = [
|
|||||||
'https://www.linkedin.com/feed/update/urn:li:activity:7181011853915926528/',
|
'https://www.linkedin.com/feed/update/urn:li:activity:7181011853915926528/',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'c-story-5',
|
key: 'story-daniel-schell',
|
||||||
avatar: 'https://signoz.io/img/users/daniel.webp',
|
avatar: 'https://signoz.io/img/users/daniel.webp',
|
||||||
personName: 'Daniel Schell',
|
personName: 'Daniel Schell',
|
||||||
role: 'Founder & CTO at Airlockdigital',
|
role: 'Founder & CTO at Airlockdigital',
|
||||||
@ -115,7 +115,7 @@ export const customerStoriesData = [
|
|||||||
link: 'https://x.com/gofrendiasgard/status/1680139003658641408',
|
link: 'https://x.com/gofrendiasgard/status/1680139003658641408',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'c-story-7',
|
key: 'story-anselm-eickhoff',
|
||||||
avatar: 'https://signoz.io/img/users/anselm.jpg',
|
avatar: 'https://signoz.io/img/users/anselm.jpg',
|
||||||
personName: 'Anselm Eickhoff',
|
personName: 'Anselm Eickhoff',
|
||||||
role: 'Software Architect',
|
role: 'Software Architect',
|
||||||
@ -129,26 +129,26 @@ export const customerStoriesData = [
|
|||||||
|
|
||||||
export const faqData = [
|
export const faqData = [
|
||||||
{
|
{
|
||||||
key: '1',
|
key: 'signoz-cloud-vs-community',
|
||||||
label:
|
label:
|
||||||
'What is the difference between SigNoz Cloud(Teams) and Community Edition?',
|
'What is the difference between SigNoz Cloud(Teams) and Community Edition?',
|
||||||
children:
|
children:
|
||||||
'You can self-host and manage the community edition yourself. You should choose SigNoz Cloud if you don’t want to worry about managing the SigNoz cluster. There are some exclusive features like SSO & SAML support, which come with SigNoz cloud offering. Our team also offers support on the initial configuration of dashboards & alerts and advises on best practices for setting up your observability stack in the SigNoz cloud offering.',
|
'You can self-host and manage the community edition yourself. You should choose SigNoz Cloud if you don’t want to worry about managing the SigNoz cluster. There are some exclusive features like SSO & SAML support, which come with SigNoz cloud offering. Our team also offers support on the initial configuration of dashboards & alerts and advises on best practices for setting up your observability stack in the SigNoz cloud offering.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '2',
|
key: 'calc-for-metrics',
|
||||||
label: 'How are number of samples calculated for metrics pricing?',
|
label: 'How are number of samples calculated for metrics pricing?',
|
||||||
children:
|
children:
|
||||||
"If a timeseries sends data every 30s, then it will generate 2 samples per min. So, if you have 10,000 time series sending data every 30s then you will be sending 20,000 samples per min to SigNoz. This will be around 864 mn samples per month and would cost 86.4 USD/month. Here's an explainer video on how metrics pricing is calculated - Link: https://vimeo.com/973012522",
|
"If a timeseries sends data every 30s, then it will generate 2 samples per min. So, if you have 10,000 time series sending data every 30s then you will be sending 20,000 samples per min to SigNoz. This will be around 864 mn samples per month and would cost 86.4 USD/month. Here's an explainer video on how metrics pricing is calculated - Link: https://vimeo.com/973012522",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '3',
|
key: 'enterprise-support-plans',
|
||||||
label: 'Do you offer enterprise support plans?',
|
label: 'Do you offer enterprise support plans?',
|
||||||
children:
|
children:
|
||||||
'Yes, feel free to reach out to us on hello@signoz.io if you need a dedicated support plan or paid support for setting up your initial SigNoz setup.',
|
'Yes, feel free to reach out to us on hello@signoz.io if you need a dedicated support plan or paid support for setting up your initial SigNoz setup.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '4',
|
key: 'who-should-use-enterprise-plans',
|
||||||
label: 'Who should use Enterprise plans?',
|
label: 'Who should use Enterprise plans?',
|
||||||
children:
|
children:
|
||||||
'Teams which need enterprise support or features like SSO, Audit logs, etc. may find our enterprise plans valuable.',
|
'Teams which need enterprise support or features like SSO, Audit logs, etc. may find our enterprise plans valuable.',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user