diff --git a/src/pages/analytics/Analytics.tsx b/src/pages/analytics/Analytics.tsx index 030b1ef9..af6deafc 100644 --- a/src/pages/analytics/Analytics.tsx +++ b/src/pages/analytics/Analytics.tsx @@ -1,7 +1,7 @@ import { useEffect, useContext } from 'react' import { APIContext } from 'context/APIContext' import { Helmet } from 'react-helmet-async' -import { trackMixPanelEvent, dashboardPageTitle, dashboardPageDescription, dashboardJsonLdSchema } from 'utils/commons' +import { trackMixPanelEvent, analyticsPageTitle, analyticsPageDescription, analyticsJsonLdSchema } from 'utils/commons' import UnbondingsChart from './components/UnbondingsChart' import AccountsChart from './components/AccountsChart' @@ -15,25 +15,25 @@ function Analytics() { return ( <> - {dashboardPageTitle} + {analyticsPageTitle} - - - + + + - - + + {/* */} - - + + {/* */} - +
diff --git a/src/utils/commons.ts b/src/utils/commons.ts index f3870d30..8fe94e3b 100644 --- a/src/utils/commons.ts +++ b/src/utils/commons.ts @@ -213,6 +213,21 @@ export const dashboardJsonLdSchema = [ } ] +// Analytics +export const analyticsPageTitle = `${pageTitle} | Analytics` +export const analyticsPageDescription = `Various Analytics for the Secret Network` +export const analyticsJsonLdSchema = [ + { + '@context': 'http://schema.org', + '@type': 'WebPage', + url: 'https://dash.scrt.network/analytics', + name: `${pageTitle} | Analytics`, + alternateName: `${alternatePageTitle} | Analytics`, + description: analyticsPageDescription, + creator: 'Secret Jupiter, Secret Saturn' + } +] + // IBC export const ibcPageTitle = `${pageTitle} | IBC Transfer` export const ibcPageDescription = `Deposit your assets, such as SCRT, via IBC transfer to and from Secret Network`