Targeting & Visibility
Targeting rules let you control where, when, and how the Trackelio widget appears on your site. All targeting options are configured from the dashboard under Sites > Targeting.
Path targeting
Section titled “Path targeting”Use glob patterns to control which pages show or hide the widget.
show_on_paths
Section titled “show_on_paths”Define paths where the widget should appear. If set, the widget is hidden on all other paths.
/blog/**/docs/*/getting-started/pricing*matches a single path segment.**matches any number of path segments.
hide_on_paths
Section titled “hide_on_paths”Define paths where the widget should be hidden. The widget appears on all other paths.
/admin/**/checkout/internal/*If both show_on_paths and hide_on_paths are configured, hide_on_paths takes precedence on overlapping patterns.
Device filter
Section titled “Device filter”Restrict the widget to specific device types.
| Value | Description |
|---|---|
all | Show on all devices (default). |
desktop | Show only on desktop viewports. |
mobile | Show only on mobile viewports. |
Device detection is based on viewport width, not user agent.
Use the show_after_seconds setting to delay the appearance of the trigger button after the page loads. This is useful when you want to avoid distracting users immediately on arrival.
For example, setting this to 5 means the trigger button appears 5 seconds after the page finishes loading. The delay applies only to the initial appearance — once visible, the button stays visible for the rest of the session.
Display mode
Section titled “Display mode”Choose how the widget presents itself on the page.
| Mode | Description |
|---|---|
| Badge | The default floating trigger button that opens a side panel. |
| Banner | A horizontal bar at the top or bottom of the page. |
| Modal | A centered overlay dialog. |
The display mode affects only how the widget is initially presented. The panel content and modules remain the same across all modes.