Conversion Goals
Track visitor actions and measure the impact of personalization.
What are Conversion Goals?
Conversion goals let you track specific actions visitors take on your pages. GetIntent uses these to measure the impact of personalization — comparing conversion rates between personalized and non-personalized visitors.
You can manage conversion goals at Dashboard > Conversions.
Types of Conversion Goals
1. Click-Based Goals
Track when a visitor clicks a specific button, link, or element on your page. Use the Visual Conversion Picker to select the element — GetIntent auto-generates a goal name from the element text (e.g., "Click: Sign Up Button"). You can customize the name. Instead of a selector, or as well, you can enter a link URL pattern, such as https://calendly.com/acme*, to count clicks on links to that address. With both, a click must match both.
Best for: CTA buttons, "Add to Cart", "Book a Demo", form submit buttons
2. Page View Goals
Track when a visitor reaches a specific URL. Enter a URL pattern, for example /thank-you or /checkout/success*. The matching rules are below.
Best for: Thank you pages, confirmation pages, checkout completion
3. Custom Event Goals
Track custom JavaScript events you fire manually. Enter an event name (e.g., form_submitted, video_watched) and fire it from your code. You can optionally pass a value for revenue attribution.
Best for: Complex multi-step funnels, JavaScript-heavy interactions, custom tracking
How click and page-view goals are tracked
- The GetIntent script loads the site's active click and page-view goals and tracks them automatically. No code is needed. Changes to goals reach a visitor from their next browser session.
- Page-view goals are checked when a page loads and after single-page-app navigation (history changes). Click goals are checked on every click, including clicks on elements inside the matched element or link.
- Each goal counts once per visitor: the script sends it once per browser session, and GetIntent ignores repeats from the same visitor. Custom-event goals are not deduplicated, because events such as purchases can repeat.
- In an experiment the conversion is attributed to the visitor's arm, including the holdout on your original page.
- Each reached goal also pushes a
getintent_conversionevent to the data layer, like agetintentTrackConversion()call. - Nothing is tracked before analytics consent when consent checking is on. The conversion contains the goal, the page address without its query string, and UTM parameters, no form data or personal data.
URL pattern rules
*matches any characters. Matching ignores letter case, the#fragment and a trailing slash.- A pattern starting with
/is matched against the whole path:/thank-youmatches /thank-you but not /thank-you/order-1, and/thank-you*matches both. The query string is only compared when the pattern contains?, as in/pricing?plan=*. - A pattern starting with
https://is matched against the full URL, including the domain. - Any other pattern, such as
thank-you, matches when the path and query contain it. Link patterns can also usemailto:*ortel:*.
Revenue Attribution
- Each conversion goal can have an associated value
- Set a default value per goal (e.g., "$50 per demo booking")
- Or pass dynamic values via the JavaScript API
- Revenue data appears in your analytics dashboard
Viewing Conversion Data
- Dashboard > Analytics shows total conversions and conversion rate; lift is shown in experiments (Dashboard > Experiments)
- Each conversion is attributed to the visitor's intent signal
- A/B test results (Pro and above) show the conversion rate of the personalized page against the holdout that keeps your original page, for all conversions and per goal
- A conversion counts for a goal in A/B test results when the script tracked a click or page-view goal, when its
namematches the event name of a custom-event goal, or when you pass the goal'sgoalId
The Visual Conversion Picker
The Visual Conversion Picker lets you set up click-based goals without writing any code — similar to how Meta Pixel or Google Ads conversion setup works.
- Click "Add Conversion Goal" > "Click-based"
- Your site opens in an iframe overlay
- Click the button or link you want to track
- GetIntent generates a CSS selector for that element
- Name your goal and save
JavaScript Tracking API
The script loads with async, so call window.getintentTrackConversion from an event handler such as a form submit or click, after the page has loaded.
Basic conversion tracking
window.getintentTrackConversion({})Named conversion with value
window.getintentTrackConversion({ name: 'purchase', value: 149.99 })Custom metadata
window.getintentTrackConversion({
name: 'signup',
value: 0,
metadata: { plan: 'free', source: 'pricing-page' }
})A/B tests, analytics and webhooks
- When the visitor was served an A/B test variant earlier in the browser session, the conversion is attributed to that variant automatically. Pass
variantIdyourself only to override it. - Each call also pushes a
getintent_conversionevent to the data layer. See Google Analytics and the data layer. - From the JavaScript SDK or your server, send conversions to
POST /api/v1/conversions. See the API reference. - Subscribe to the
conversionwebhook to receive each conversion on your own server. See Webhooks.
Tips
- Set up at least one conversion goal before driving traffic — otherwise you cannot measure lift
- Use click-based goals for the simplest setup (no code required)
- Use page view goals for thank you / confirmation pages
- Use custom events for complex tracking needs
- Review conversion data weekly to understand which intents convert best