Goals

Created on 1 July, 2026Features

Track conversions like form submissions, purchases and button clicks

Goals

Goals track specific actions that matter to your business — like a form submission or a button click — and calculate your conversion rate automatically.

Pageview Goal

Converts when a visitor accesses a specific page. Ideal for thank you pages, order confirmations, or any page that indicates a conversion.

Setup: Go to Goals → New Goal → select "Pageview" → enter the URL or partial URL.

Custom Goal (JavaScript event)

Converts when you fire a JavaScript event. Ideal for button clicks, form submissions or any trackable action.

When creating the goal, you receive a code snippet to add to your site:

window.sp && window.sp('goal', { key: 'YOUR_GOAL_KEY' });

Example on a button:

<button onclick="window.sp && window.sp('goal', { key: 'YOUR_GOAL_KEY' })">   Buy Now </button>

Viewing results

Go to Goals to see total conversions, conversion rate (conversions ÷ unique visitors) and conversions over time chart.