Documentation Index
Fetch the complete documentation index at: https://docs.ghostlyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Goal types
GhostlyX supports two types of goals:- Pageview goal: triggered when a visitor reaches a specific URL path
- Custom event goal: triggered when your code calls the GhostlyX JavaScript API with a matching event name
Creating a pageview goal
- Go to Settings > Goals.
- Click Add goal.
- Select Pageview as the goal type.
- Enter the path to match, for example
/thank-youor/checkout/success. - Click Save.
* wildcard at the end. For example, /blog/* matches any URL that starts with /blog/.
Creating a custom event goal
- Go to Settings > Goals.
- Click Add goal.
- Select Custom event as the goal type.
- Enter the event name exactly as it appears in your
ghostlyx('event', '...')call. - Click Save.
Goal stats on the dashboard
Once a goal is created, it appears in the Goals section of the dashboard. For each goal you will see:| Metric | Definition |
|---|---|
| Completions | Total number of times the goal was completed in the selected period |
| Unique completions | Completions counted once per visitor per day |
| Conversion rate | Unique completions divided by unique visitors |