Skip to content

Commit

Permalink
Improve some SEO-related stuff (#179)
Browse files Browse the repository at this point in the history
* Fix some issues

* web -> website

* web -> website

* Run prune step even if tests fail
  • Loading branch information
th0th committed May 8, 2023
1 parent e81fa16 commit 1a51113
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 18 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ jobs:
run: pnpm exec -- playwright test --project="Google Chrome"
working-directory: frontend

- name: Prune
- if: always()
name: Prune
run: |
docker compose down
docker volume prune --force
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This is why we need to re-assess how we protect data privacy globally and re-ima

**Where To From Here?**

Luckily, there are innovations in the space that are looking to tackle this problem -- and it's for this reason that we started [PoeticMetric](https://www.poeticmetric.com). We've built a privacy-concerned web analytics tool that doesn't compromise the personal data of your consumers.
Luckily, there are innovations in the space that are looking to tackle this problem -- and it's for this reason that we started [PoeticMetric](https://www.poeticmetric.com). We've built a privacy-concerned website analytics tool that doesn't compromise the personal data of your consumers.

We've worked hard to create a service that can still give you valuable insights into your audience so that you can make good business decisions, but not at the expense of the privacy of your users. We believe that this is the future of ethical marketing analytics -- something that is becoming more and more important every day.

Expand Down
4 changes: 2 additions & 2 deletions frontend/components/BlogPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ export function BlogPage({ currentPage, pageCount, posts }: BlogPageProps) {
<Layout kind="website">
<CanonicalLink path={currentPage === 1 ? "/blog" : `/blog/page/${currentPage}`} />

<Title kind="blog">Privacy-focused web analytics tips and best practices</Title>
<Title kind="blog">Privacy-focused website analytics tips and best practices</Title>

<Description>
Stay up to date on the latest privacy-first and regulation-compliant web analytics news, tips, and best practices with
Stay up to date on the latest privacy-first and regulation-compliant website analytics news, tips, and best practices with
PoeticMetric&apos;s blog. Learn how to use data to improve your website and better understand your users, all while keeping their
privacy and compliance top of mind.
</Description>
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/DocsArticle/Menu/Search/cache.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/components/DocsArticle/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function DocsArticle({ article, categories }: DocsArticleProps) {
: `/docs/${article.category.slug}/${article.slug}`}
/>

<Title kind="docs">{article.title}</Title>
<Title kind="docs">{`${article.category.title} - ${article.title}`}</Title>

<Description>{article.excerpt}</Description>

Expand Down
2 changes: 1 addition & 1 deletion frontend/components/Home/Jumbotron/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function Jumbotron() {
<div className="fs-5 fw-medium">
PoeticMetric is a free as in freedom, open source, privacy-first and
<br />
regulation-compliant web analytics tool.
regulation-compliant website analytics tool.
</div>

<Stack className="justify-content-center mt-3" direction="horizontal" gap={3}>
Expand Down
4 changes: 2 additions & 2 deletions frontend/components/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export function Home() {
<Title>Free and open source, privacy-friendly Google Analytics alternative</Title>

<Description>
PoeticMetric is a free as in freedom, open source, privacy-first and regulation-compliant web analytics tool. You can keep track of
your website&apos;s traffic without invading your visitors&apos; privacy.
PoeticMetric is a free as in freedom, open source, privacy-first and regulation-compliant website analytics tool. You can keep track
of your website&apos;s traffic without invading your visitors&apos; privacy.
</Description>

<Jumbotron />
Expand Down
6 changes: 3 additions & 3 deletions frontend/components/OpenSource/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function OpenSource({ content }: OpenSourceProps) {

<Title>The open source Google Analytics alternative</Title>

<Description>Here you can find about the philosophy of PoeticMetric open source web analytics.</Description>
<Description>Here you can find about the philosophy of PoeticMetric open source website analytics.</Description>

<div className="position-relative overflow-hidden">
<div className={styles.head}>
Expand All @@ -25,8 +25,8 @@ export function OpenSource({ content }: OpenSourceProps) {

<div className="mt-3">
<p>
Unlock the power of data with PoeticMetric - the free and open source web analytics platform designed for transparency,
security, and community-driven innovation.
Unlock the power of data with PoeticMetric - the free and open source website analytics platform designed for
transparency, security, and community-driven innovation.
</p>

<div className="aling-items-start gap-2 hstack justify-content-center mt-5">
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/PrivacyPolicy/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function PrivacyPolicy({ content }: PrivacyPolicyProps) {

<Description>
At PoeticMetric, we take your privacy seriously. Our privacy policy page outlines how we collect, use, and protect your data when
you use our web analytics tool. We respect your privacy and are committed to ensuring the confidentiality and security of your
you use our website analytics tool. We respect your privacy and are committed to ensuring the confidentiality and security of your
information. Learn more about our privacy-first approach at PoeticMetric.
</Description>

Expand Down
2 changes: 1 addition & 1 deletion frontend/components/SignIn/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function SignIn() {

<Title>Sign in</Title>

<Description>Sign in to your PoeticMetric account and gain access to powerful web analytics features.</Description>
<Description>Sign in to your PoeticMetric account and gain access to powerful website analytics features.</Description>

<Container className="py-5">
<div className="text-center">
Expand Down
4 changes: 3 additions & 1 deletion frontend/components/SignUp/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Link from "next/link";
import React, { useCallback, useContext } from "react";
import { Button, Card, Container, Form } from "react-bootstrap";
import { Layout, Title } from "..";
import { CanonicalLink, Layout, Title } from "..";
import { AuthContext, ToastsContext } from "../../contexts";
import { api, setUserAccessToken } from "../../helpers";
import { useForm } from "../../hooks";
Expand Down Expand Up @@ -41,6 +41,8 @@ export function SignUp() {

return (
<Layout kind="app">
<CanonicalLink path="/sign-up" />

<Title>Sign up</Title>

<Container className="py-5">
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/TermsOfService/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function TermsOfService({ content }: TermsOfServiceProps) {

<Description>
Before using PoeticMetric, it&apos;s important to understand our terms of service. Our terms of service page outlines the rules and
guidelines you must follow when using our web analytics tool. We are committed to providing a fair, transparent, and
guidelines you must follow when using our website analytics tool. We are committed to providing a fair, transparent, and
regulation-compliant service. Read our terms of service to learn more about what you can expect from PoeticMetric.
</Description>

Expand Down
2 changes: 1 addition & 1 deletion frontend/docs/websites/5_page-view-durations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Page view durations"
---

How much time a visitor spends on a page is one of the critical engagement metrics of web analytics. However, it is tricky to measure in an accurate and privacy-friendly manner.
How much time a visitor spends on a page is one of the critical engagement metrics of website analytics. However, it is tricky to measure in an accurate and privacy-friendly manner.

<!-- end -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ By default, once you add PoeticMetric script on your website, PoeticMetric track

<!-- end -->

You might be familiar with this process and look for a way to ignore some IP addresses on the PoeticMetric interface. However, since [we don't collect, encrypt or process IP addresses as a privacy feature](/docs/what-we-collect), IP address filtering is not available on PoeticMetric. Instead, you will need to set a `localStorage` flag to let the tracker script know, and it will exclude you and stop event collection.
You might be familiar with this process and look for a way to ignore some IP addresses on the PoeticMetric interface. However, since we don't collect, encrypt or process IP addresses as a privacy feature, IP address filtering is not available on PoeticMetric. Instead, you will need to set a `localStorage` flag to let the tracker script know, and it will exclude you and stop event collection.

## tl;dr, to exclude yourself:

Expand Down
1 change: 1 addition & 0 deletions frontend/next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = {
"/activation",
"/billing",
"/bootstrap",
"/docs",
"/email-address-verification",
"/password-reset",
"/sign-out",
Expand Down

0 comments on commit 1a51113

Please sign in to comment.