📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
added errors tracking page opengraph image
Blue Mouseace01611bbf4
diff --git a/app/components/SEO.tsx b/app/components/SEO.tsxindex f6e020f4b..0cee0c7d1 100644--- a/app/components/SEO.tsx+++ b/app/components/SEO.tsx@@ -5,6 +5,7 @@ import _toUpper from 'lodash/toUpper'// import { MAIN_URL } from 'redux/constants'import { getPageMeta } from 'utils/server'import { getOgImageUrl } from 'redux/constants'+import routes from 'routesPath'export const SEO = () => {const {@@ -16,6 +17,7 @@ export const SEO = () => {const isBlogPage = _startsWith(pathname, '/blog')const isMainPage = pathname === '/'+ const isErrorsPage = pathname === routes.errorTrackingconst isProjectViewPage = _startsWith(pathname, '/projects/')const ogImageUrl = getOgImageUrl(prefixLessTitle)@@ -44,7 +46,13 @@ export const SEO = () => {<meta property='og:image' content='https://swetrix.com/assets/og_image.png' /></>)}- {!isProjectViewPage && !isMainPage && (+ {isErrorsPage && (+ <>+ <meta name='twitter:image' content='https://swetrix.com/assets/og_image_errors.png' />+ <meta property='og:image' content='https://swetrix.com/assets/og_image_errors.png' />+ </>+ )}+ {!isProjectViewPage && !isMainPage && !isErrorsPage && (<><meta name='twitter:image' content={ogImageUrl} /><meta property='og:image' content={ogImageUrl} />diff --git a/public/assets/og_image_errors.png b/public/assets/og_image_errors.pngnew file mode 100644index 000000000..66ea40afaBinary files /dev/null and b/public/assets/og_image_errors.png differ