Clickport
Start free trial

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

Goal types
C
Click
Outbound links, affiliate clicks, button clicks
P
Pageview
Thank-you pages, checkout completion, signup confirmation
F
Form
Contact forms, newsletter signups, native HTML form submits
E
Custom Event
Custom events sent via clickport.track() with properties and revenue

Click goals

Click goals match outbound link clicks based on URL, domain, element text, title, or Amazon ASIN. Use these for affiliate links, buy buttons, and external content.

Available fields:

Example: Track all Amazon clicks with a single condition: domain contains "amazon". Or match a specific product with ASIN equals "B08N5WRWNW".

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:

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:

Example: Match all contact forms with form_name contains "contact", or match a specific plugin with form_plugin equals "cf7".

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:

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' }
);
Tip: The dashboard detects custom events automatically. When editing a custom event goal, click any detected event name to pre-fill the condition.

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 configuration form
Example: Amazon affiliate click goal
Name
Type
Click Pageview Form Custom
Badge
Color
Conditions (match of the following)

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:

Match logic: AND vs OR

When a goal has multiple conditions, the match logic controls how they combine:

AND vs OR examples
Match ALL (AND)
Click on /pricing page with Amazon domain
Page URL contains pricing
Domain contains amazon

Match ANY (OR)
Thank-you page OR checkout complete page
Path equals /thank-you/
Path equals /checkout/complete/

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 list with drag reordering
Drag to change priority (top = highest)
PP Premium Plan Purchase EVENT
P All Purchases EVENT
F Contact Form FORM

Goals on the dashboard

Goals appear in two places on your dashboard: the Conversions and Conversion Rate KPIs, and the Goals panel.

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.

Visitors
1.4k ↗11%
Conversions
157 ↗14%
Conv. Rate
11% ↗2.9%

The Conversions count is the total number of goal completions. Conversion Rate is calculated as conversions divided by visitors, expressed as a percentage.

Toggle conversion status: Not every goal needs to count toward your headline conversion rate. Disable "Counts as Conversion" for tracking-only goals like newsletter signups or video plays.

Goals panel

The Goals panel shows detailed stats for each configured goal. Click the Goals tab in the right content column to view it.

Pages Sessions Goals
Goals Outbound
Goal Visitors
A Amazon Product Click 124 8.9%
T Thank You Page 89 6.4%
C Contact Form 67 4.8%
P Purchase (Pro Plan) 23 1.6%

For custom event goals with revenue tracking, the panel shows total revenue next to visitor count.

How goal matching works

Goals are evaluated at event ingestion time on the server. When an event comes in, the system checks it against all configured goals in priority order. The first matching goal sets the has_converted flag on that session.

This means goal matching happens once, when the event is recorded. Changing goal conditions later does not retroactively update past sessions.

Retroactive changes: If you modify a goal's conditions, only new events will use the updated rules. Existing conversions remain tagged with the old goal definition.

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.

Debugging tip: Use the Sessions panel to see the raw event data. Click any session to expand its full event timeline with all metadata fields.