Goals
Goals track meaningful visitor actions on your site. When an event matches a goal's conditions, it counts as a conversion and appears in your KPIs and Goals panel.
What are goals?
Goals let you identify which pages and traffic sources drive actual outcomes, not just visits. Set up goals for the actions that matter to your business: purchases, signups, downloads, affiliate clicks, form submissions, or any custom event your tracker sends.
Each goal has a type, one or more matching conditions, and a badge for visualization. Goals marked as conversions feed the Conversions and Conversion Rate KPIs at the top of your dashboard.
The four goal types
Click goals
Click goals match outbound link clicks based on URL, domain, button/link text, title, or Amazon ASIN. Use these for affiliate links, buy buttons, and external content.
Available fields:
- URL: the full destination URL
- Domain: the destination domain (e.g., amazon.de)
- Button/link text: the visible anchor text or button label (e.g., "Get started", "Buy now"). Not a CSS id or class.
- Title: same as Button/link text (the visible anchor text)
- ASIN: auto-extracted from Amazon URLs (/dp/ or /gp/product/ patterns)
Pageview goals
Pageview goals match when a visitor loads a specific page. Use these for thank-you pages, order confirmations, signup completions, or any page visit that indicates success.
Available fields:
- Path: the URL path (e.g., /thank-you, /checkout/complete)
Pageview goals support the full range of operators. Use contains for flexible matching (any page with "/checkout/" in the path) or equals for exact paths like /impressum/.
Form goals
Form goals track form submissions. Clickport auto-detects Contact Form 7, WPForms, Gravity Forms, and native HTML form submits without requiring additional scripts.
Available fields:
- Form Name: the form's name attribute or plugin-generated identifier
- Form ID: the form's ID attribute
- Plugin: the form plugin (cf7, wpforms, gravity)
- Page URL: the page path where the form was submitted
Custom event goals
Custom event goals match events sent via the clickport.track() API. Use these for any action not covered by the standard types: video plays, downloads, account upgrades, cart additions, purchases.
Available fields:
- Event Name: the event name passed to
clickport.track() - Property Key: match if a specific property exists
- Property Value: match a specific property value
Custom events support revenue tracking. Pass a revenue amount and currency to clickport.track() and the Goals panel will show total revenue per goal.
clickport.track('Purchase',
{ product: 'Pro Plan', category: 'Subscription' },
{ amount: 29.99, currency: 'USD' }
);
Creating a goal
Open the Goals configuration modal from the Settings menu in the top right corner of the dashboard. Click "Add Goal" to create a new goal.
Goal conditions
Each goal has one or more conditions that define when it matches. Conditions use a field, an operator, and a value.
Operators
All goal types support these operators:
- contains: the field contains the value (case-insensitive)
- not contains: the field does not contain the value
- equals: exact match (case-insensitive)
- not equals: not an exact match
- starts with: the field starts with the value
- ends with: the field ends with the value
- is empty: the field is empty or null (no value needed)
- is not empty: the field has a value (no value needed)
Match logic: AND vs OR
When a goal has multiple conditions, the match logic controls how they combine:
- ALL (AND): every condition must match for the goal to trigger
- ANY (OR): any single condition matching triggers the goal
Goal priorities
Goals are evaluated in order from highest to lowest priority. The first matching goal wins. Drag goals in the configuration modal to reorder them and change priorities.
This matters when you have overlapping conditions. For example, a specific "Premium Plan Purchase" goal should rank higher than a generic "All Purchases" goal so premium conversions get tagged correctly.
Goals on the dashboard
Goals appear in three places on your dashboard: the Conversions and Conversion Rate KPIs, the Goals panel, and every breakdown panel when a goal cross-filter is active.
Conversions KPI
When you have at least one goal marked as "Counts as Conversion", two additional KPI cards appear in the top row: Conversions and Conversion Rate.
The Conversions count is the total number of goal completions. Conversion Rate is calculated as conversions divided by visitors, expressed as a percentage.
Goals panel
The Goals panel shows detailed stats for each configured goal. Click the Goals tab in the right content column to view it.
For custom event goals with revenue tracking, the panel shows total revenue next to visitor count.
Per-dimension Conversion Rate
Click a goal in the Goals panel to cross-filter the whole dashboard to that goal. Every breakdown panel (Sources, Channels, Locations, Technologies, Campaigns, Pages) swaps its right-side columns from Visitors and Engagement to Conversions and CR for that goal.
Each row's CR is computed as the number of sessions in that dimension that converted on the filtered goal, divided by the total number of sessions in that dimension (with the goal filter stripped). A high CR means the dimension converts at a higher rate than your overall traffic, not that it has a high share of total conversions.
Combine a goal with its badge. Some goals expand into parts: an affiliate click goal grouped by product, or a custom event tracked under several names. Click the goal's badge to select the whole goal at once, combining every product or sub-event into one population, so the panels rank by CR across the entire goal instead of a single product. Click a single product row instead, and you drill the other way, down to that one item.
Filter by a value inside a goal. Expand an event-based goal and click any value it lists, an event name or a property value, to cross-filter the whole dashboard to just the visitors who hit that value. It behaves like any goal filter and composes with your other filters.
How goal matching works
Goals are evaluated in two places.
At ingestion: when an event arrives, the system checks it against all configured goals in priority order. The first matching goal is recorded on the event, which is what powers the per-page goal badges you see in session drill-downs.
At query time: the headline Conversion Rate and Conversions KPIs, plus the Sessions panel "Converted" tab, re-evaluate every session in the current date range against your current goal definitions on every dashboard load.
The practical effect: editing, toggling, or deleting goals updates your historical numbers. Toggle "Counts as Conversion" off on a noisy goal and your past Conversion Rate drops to match. Delete a goal, the historical conversion count goes with it. Add a new goal, historical sessions that match its conditions count toward it too.
Revenue tracking
Custom event goals support revenue tracking. Pass a revenue amount and currency when calling clickport.track():
clickport.track('Purchase',
{ plan: 'Pro', billing: 'annual' },
{ amount: 299.00, currency: 'USD' }
);
The Goals panel aggregates revenue per goal, showing the total across all matching events. This lets you see which traffic sources and campaigns drive actual revenue, not just conversions.
Testing goals
After configuring a goal, trigger the action on your site and check the Sessions panel. Find your session, expand it, and look for the goal badge on matching events. If the goal did not trigger, review your conditions and operators.