Pageview goals allow you to measure how many people visit a specific section of your site (for instance dynamically created checkout pages for ecommerce) and get referral sources and other details for those conversions.
Since page views are collected automatically, you don’t need to change your website’s code to measure page URL goals.
To get started with "Pageview Goals", go to your website's settings in Plausible Analytics and visit the "Goals" section. You should see an empty list with a prompt to add a goal.
Click on the "+ Add goal" button to go to the goal creation form.
Pageview as the goal trigger and enter the pathname of the page you would like your visitors to hit. The pathname must match the page path you can see in your Plausible Analytics dashboard.
Next, click on the "Add goal" button and you’ll be taken back to the goals page. When you navigate back to your Plausible Analytics dashboard, you should see the number of visitors who reached the specified page or group of pages. Goal conversions are listed at the very bottom of the dashboard.
Group your pages using wildcards
Do you want to analyze the total traffic to specific sections of your site or to group your dynamically created pages? You can use wildcards to match patterns in your page path URLs.
You can use one asterisk (
*) to represent any number of characters within the same directory or you can use double asterisks (
**) to represent any number of characters even forward slashes. Asterisks can be placed on either end or in the middle of any page path URL.
You can for instance group all of your blog posts by creating a pageview goal
/blog** (if your blog subdirectory is named
blog) or track Woocommerce checkout pages for your ecommerce by creating a pageview goal
/checkout/order-received/**. Or you could use double asterisks in front and back (
**keyword**) to group any URLs containing a specific keyword.
See below for more examples of common use cases and how they would function.
|Input||Includes pages with a URL path of:|
|use double asterisks in front and back in the same way that you would use "contain". It finds any URL containing a specific keyword|
|use this to for instance group all your blog posts|
Would you like to group your pages at any time without using pageview goals? You can do so by using the "Filter" button on the top of your dashboard.