Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Blog] Alerts Use Cases #10147

Merged
merged 29 commits into from
Jan 10, 2025
Merged

[Blog] Alerts Use Cases #10147

merged 29 commits into from
Jan 10, 2025

Conversation

bijanbwb
Copy link
Contributor

@bijanbwb bijanbwb commented Dec 16, 2024

Changes

Blog post about our new Alerts features with some practical examples.

https://posthog-git-blog-alerts-examples-post-hog.vercel.app/blog/alerts-examples

Checklist

  • Words are spelled using American English
  • Titles are in sentence case
  • Feature names are in sentence case too
  • Use relative URLs for internal links
  • If I moved a page, I added a redirect in vercel.json
  • Remove this template if you're not going to fill it out!

Article checklist

  • I've added (at least) 3-5 internal links to this new article
  • I've added keywords for this page to the rank tracker in Ahrefs (added "posthog alerts")
  • I've checked the preview build of the article
  • The date on the article is today's date
  • I've added this to the relevant "Tutorials and guides" docs page (if applicable)

Useful resources

@bijanbwb bijanbwb self-assigned this Dec 16, 2024
Copy link

vercel bot commented Dec 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog ✅ Ready (Inspect) Visit Preview Jan 10, 2025 2:22am

@bijanbwb bijanbwb changed the title [WIP] Blog Post: Practical alerts examples Blog Post: Practical alerts examples Dec 18, 2024
@bijanbwb bijanbwb marked this pull request as ready for review December 18, 2024 16:26
@andyvan-ph andyvan-ph self-requested a review December 19, 2024 11:05
@bijanbwb bijanbwb changed the title Blog Post: Practical alerts examples [Blog] Practical alerts examples Dec 19, 2024
Copy link
Contributor

@ivanagas ivanagas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some good stuff here, but would love to see more depth and practicality.

How are we (and/or beta users) actually using alerts? What are some specific examples?

You shouldn't gloss over capturing events as part of the process either.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth thinking about how we are going to promote this piece, likely needs some solid backlinks to help people find their way there.

Could we plan a social post/thread for it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. I think we could probably pick out the most compelling example(s) and share those on social.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. Should link from the Alerts docs for a start. Could probably add to some product analytics pages.

We can also turn the individual ideas into social posts.

contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved
contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved
contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved
contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved
contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved
contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved

So you can set up an alert that coincides with the launch of a redesigned page and verify that the number of CTA clicks should hopefully be increasing, not decreasing.

### 5. Alert on changes in conversion rates
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good section

contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved
contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved
Copy link
Contributor

@andyvan-ph andyvan-ph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good so far. Left a few additional suggestions. As per comment, I feel like the 404 one could be a bit simpler.

- Product updates
---

To keep life interesting, it's important to live in a state of perpetual ignorance. When things are going well, there's no need to find out why. When things go downhill, let anxiety run its course.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, btw. Love a bit of humor as a starter!

contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved
contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved
contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved
contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved

These kinds of alerts can also be useful when traffic spikes are unexpected. We often see this at PostHog when our content gets featured in a popular email newsletter or shared on Hacker News. When we notice an influx of new signups, it can be fun to dig in and try to figure out where they came from.

For example, we can set up an alert when the number of pageviews for our [pricing page](/pricing) rises above 8,000 views for the week. First, we [create a new trend insight](/docs/product-analytics/trends/overview#1-creating-a-new-trend) to track pageviews where "Path Name" equals "/pricing". Then, filter by the year-to-date and group by week.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 Ian's point.

Additional suggestion: could you add a screenshot of a fully-configured alert for each example? I think this will help people grok what it looks like and how to make their own.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. Should link from the Alerts docs for a start. Could probably add to some product analytics pages.

We can also turn the individual ideas into social posts.

contents/blog/practical-alerts.mdx Outdated Show resolved Hide resolved

Alerts are currently available for trends insights. But we're currently working on adding alerts for [funnels](/docs/product-analytics/funnels), which will make it easier to track conversions across various stages. For example, we can create a funnel to see how many users are following through and signing up after visiting our pricing page.

Thanks to [Anirudh](/community/profiles/30974) for making this much-requested feature a reality. The idea for threshold-based alerts started as a [GitHub issue](https://github.com/PostHog/posthog/issues/14331), so if you have other interesting use cases and suggestions for how to improve the features, be sure to let us know!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like this point

@@ -0,0 +1,165 @@
---
title: '6 practical uses for PostHog alerts'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love this headline. We should workshop some ideas before we go live

@bijanbwb bijanbwb changed the title [Blog] Practical alerts examples [Blog] Alerts Use Cases Jan 8, 2025
Copy link
Contributor

@ivanagas ivanagas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small pieces, but looks good to me :)

contents/blog/alerts-examples.mdx Outdated Show resolved Hide resolved
contents/blog/alerts-examples.mdx Outdated Show resolved Hide resolved
contents/blog/alerts-examples.mdx Outdated Show resolved Hide resolved

We can set the frequency to check this daily. And for critical alerts like this, you can add more than one email to the notification list and ensure the entire billing team receives the alert.

### 4. Alert on changes in conversion rates
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of having two separate lines could we use formula mode here? Might be more realistic.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you could also add a backlink here: https://posthog.com/docs/product-analytics/tutorials

contents/blog/alerts-examples.mdx Outdated Show resolved Hide resolved

To keep life interesting, it's important to live in a state of perpetual ignorance. When things are going well, there's no need to find out why. When things go downhill, let anxiety run its course. After all, who needs data and insights when you have hope?

![Driving blind](https://res.cloudinary.com/dmukukwp6/image/upload/319051_c8e072f85e.gif)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does putting this in a <ProductScreenshot> center it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this out as a ProductScreenshot but it doesn't center the image and looked a little weird with the extra border. I ended up reverting the change since I think most of our meme images use Markdown images.

@bijanbwb bijanbwb merged commit ac3674d into master Jan 10, 2025
3 checks passed
@bijanbwb bijanbwb deleted the blog-alerts-examples branch January 10, 2025 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants