Links
Links are the core entity in Linquid. Each link represents a shortened URL that can redirect visitors to a destination.Link Structure
Link Properties
| Property | Type | Description |
|---|---|---|
shortCode | string | The unique code in your short URL |
destinationUrl | string | Where visitors are redirected |
title | string | Display name for the link |
description | string | Optional description |
campaignId | string | Parent campaign (required) |
enabled | boolean | Whether the link is active |
expiresAt | timestamp | Auto-disable after this time |
clicksLimit | number | Disable after N clicks |
password | string | Password protection |
Redirect Behavior
Control how your link handles redirects:| Mode | Description |
|---|---|
auto | Redirect if destination exists |
always | Always redirect (error if no destination) |
rule_only | Only redirect when a rule matches |
never | Track-only, return 204 No Content |
Custom Domains
Links can use custom domains:redirectDomain to use a system domain (linqu.id, linqid.io) or domainId to use your custom domain.
Deep Linking
Enable native app deep links:Conversion Tracking
Track conversions by enablingconversionTracking:
click_id is appended to the destination URL for attribution.
Statistics
Links track:clicks- Total click countuniqueClicks- Unique visitors (fingerprint-based)impressions- Page views (if enabled)conversions- Attributed conversionsrevenue- Total conversion revenuelastClickedAt- Most recent click time