Frequently Asked Questions

A curated summary of the top questions asked on our Slack community, often relating to implementation, functionality, and building better products generally.
Statsig FAQs
OpenAI ea Notion Microsoft Univision affirm Hepsiburada RecRoom Tempo Vista Found Class101
GENERAL

How can I set up a custom primary metric for CTA button clicks in Statsig?

Date of slack thread: 5/21/24

Anonymous: How can I setup the primary metric as link click to a specified page which would be my CTA as of now in dropdown options I see other metrics which are along the lines of DAU, MAU, WAU, Stickiness etc but I want the key metric to be people clicking the CTA buttons like Cloud Signups, Talk To Sales

Statbot: To set up a primary metric that tracks clicks on specific CTA buttons like “Cloud Signups” or “Talk To Sales,” you will need to create a custom metric. Here’s how you can do it according to the documentation:

  1. First, ensure that you have a Metric Source set up in Statsig. This involves running your SQL to pull a sample set and mapping specific columns required to calculate results. You can also include extra columns for breakdowns and filtering when you create Metrics (source).
  2. Once your Metric Source is ready, go to the Metrics view and click Create in the Metrics tab.
  3. When creating the metric, select the Metric Source you’re deriving the metric from and specify some settings. For your case, you would likely use the Count metric type, which is a basic count of events with filters, such as click events (source).
  4. You can specify breakdown columns for most metric types, which will automatically break down a result into common elements in metadata fields. This could be used to differentiate between clicks on different CTA buttons (source).
  5. Apply filters to flexibly reuse metric sources. This allows you to create metrics that only count specific events, such as clicks on your “Cloud Signups” or “Talk To Sales” CTAs (source).

By following these steps, you can create a custom metric that tracks the number of clicks on your specified CTA buttons, which can then be used as a primary metric in your experiments or analyses.

Statbot: Click below to mark as resolved.

Anonymous: Not able to figure how can I create metric source the link in the automated response is 404 page

Vijaye (Statsig): You can create custom metrics as described here: https://docs.statsig.com/metrics/create

Statbot: This thread has been marked as resolved. Press below to re-open.

Join the #1 experimentation community

Connect with like-minded product leaders, data scientists, and engineers to share the latest in product experimentation.

Try Statsig Today

Get started for free. Add your whole team!

Why the best build with us

OpenAI OpenAI
Brex Brex
Notion Notion
SoundCloud SoundCloud
Ancestry Ancestry
At OpenAI, we want to iterate as fast as possible. Statsig enables us to grow, scale, and learn efficiently. Integrating experimentation with product analytics and feature flagging has been crucial for quickly understanding and addressing our users' top priorities.
OpenAI
Dave Cummings
Engineering Manager, ChatGPT
Brex's mission is to help businesses move fast. Statsig is now helping our engineers move fast. It has been a game changer to automate the manual lift typical to running experiments and has helped product teams ship the right features to their users quickly.
Brex
Karandeep Anand
President
At Notion, we're continuously learning what our users value and want every team to run experiments to learn more. It’s also critical to maintain speed as a habit. Statsig's experimentation platform enables both this speed and learning for us.
Notion
Mengying Li
Data Science Manager
We evaluated Optimizely, LaunchDarkly, Split, and Eppo, but ultimately selected Statsig due to its comprehensive end-to-end integration. We wanted a complete solution rather than a partial one, including everything from the stats engine to data ingestion.
SoundCloud
Don Browning
SVP, Data & Platform Engineering
We only had so many analysts. Statsig provided the necessary tools to remove the bottleneck. I know that we are able to impact our key business metrics in a positive way with Statsig. We are definitely heading in the right direction with Statsig.
Ancestry
Partha Sarathi
Director of Engineering
We use cookies to ensure you get the best experience on our website.
Privacy Policy