> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ShortLinkClick

> The schema definition for the ShortLinkClick resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the short link click.

## Specific attributes

[Navigate to header](#param-commercial-activity)

bot\_name

varchar

public

The bot name of the short link click.

**Rules**: Max length: 100 characters

[Navigate to header](#param-commercial-activity)

browser\_name

varchar

public

The browser name of the short link click.

**Rules**: Max length: 50 characters

[Navigate to header](#param-commercial-activity)

browser\_version

varchar

public

The browser version of the short link click.

**Rules**: Max length: 30 characters

[Navigate to header](#param-commercial-activity)

city

varchar

public

The city of the short link click.

**Rules**: Max length: 100 characters

[Navigate to header](#param-commercial-activity)

code\_requested

varchar

public

required

The code requested of the short link click.

**Rules**: Max length: 64 characters

[Navigate to header](#param-commercial-activity)

country\_code

varchar

public

The country code of the short link click.

**Rules**: Max length: 2 characters

[Navigate to header](#param-commercial-activity)

destination\_url

text

public

The destination URL of the short link click.

[Navigate to header](#param-commercial-activity)

device\_type

varchar

default:"other"

public

required

The device type of the short link click.

**Rules**: Possible values: android, desktop, ios, other. Max length: 10 characters

[Navigate to header](#param-commercial-activity)

event\_key

varchar

public

required

The event key of the short link click.

**Rules**: Max length: 64 characters

[Navigate to header](#param-commercial-activity)

is\_bot

boolean

default:"false"

public

required

Indicates whether the short link click is bot.

[Navigate to header](#param-commercial-activity)

language

varchar

public

The language of the short link click.

**Rules**: Max length: 35 characters

[Navigate to header](#param-commercial-activity)

latitude

numeric

public

The latitude of the short link click.

**Rules**: Precision: 9, Scale: 6

[Navigate to header](#param-commercial-activity)

longitude

numeric

public

The longitude of the short link click.

**Rules**: Precision: 9, Scale: 6

[Navigate to header](#param-commercial-activity)

occurred\_at

timestamp

public

required

Timestamp when the short link click was occurred.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

os\_name

varchar

public

The os name of the short link click.

**Rules**: Max length: 50 characters

[Navigate to header](#param-commercial-activity)

os\_version

varchar

public

The os version of the short link click.

**Rules**: Max length: 30 characters

[Navigate to header](#param-commercial-activity)

outcome

varchar

public

required

The outcome of the short link click.

**Rules**: Possible values: blocked\_expired, blocked\_inactive, blocked\_limit, blocked\_not\_started, kill\_switch, not\_found, password\_failed, password\_required, redirected. Max length: 30 characters

[Navigate to header](#param-commercial-activity)

query\_params

jsonb

public

required

The query params of the short link click.

[Navigate to header](#param-commercial-activity)

referrer\_domain

varchar

public

The referrer domain of the short link click.

**Rules**: Max length: 253 characters

[Navigate to header](#param-commercial-activity)

referrer\_url

text

public

The referrer URL of the short link click.

[Navigate to header](#param-commercial-activity)

region

varchar

public

The region of the short link click.

**Rules**: Max length: 100 characters

[Navigate to header](#param-commercial-activity)

trusted

boolean

default:"true"

public

required

Indicates whether trusted applies to the short link click.

[Navigate to header](#param-commercial-activity)

user\_agent

varchar

public

The user agent of the short link click.

**Rules**: Max length: 512 characters

[Navigate to header](#param-commercial-activity)

utm\_campaign

varchar

public

The utm campaign of the short link click.

**Rules**: Max length: 250 characters

[Navigate to header](#param-commercial-activity)

utm\_content

varchar

public

The utm content of the short link click.

**Rules**: Max length: 250 characters

[Navigate to header](#param-commercial-activity)

utm\_medium

varchar

public

The utm medium of the short link click.

**Rules**: Max length: 250 characters

[Navigate to header](#param-commercial-activity)

utm\_source

varchar

public

The utm source of the short link click.

**Rules**: Max length: 250 characters

[Navigate to header](#param-commercial-activity)

utm\_term

varchar

public

The utm term of the short link click.

**Rules**: Max length: 250 characters

[Navigate to header](#param-commercial-activity)

via

varchar

default:"link"

public

required

The via of the short link click.

**Rules**: Possible values: link, qr. Max length: 10 characters

[Navigate to header](#param-commercial-activity)

visitor\_hash

varchar

public

required

The visitor hash of the short link click.

**Rules**: Max length: 64 characters

## Foreign keys

[Navigate to header](#param-commercial-activity)

short\_link

uuid

public

Optional reference to the Short Link associated with the short link click. [Ref: Short Link Schema](https://docs.bbrands.io/schemas/short-link/short-link.md)

[Navigate to header](#param-commercial-activity)

short\_link\_rule

uuid

public

Optional reference to the Short Link Rule associated with the short link click. [Ref: Short Link Rule Schema](https://docs.bbrands.io/schemas/short-link/short-link-rule.md)

[Navigate to header](#param-commercial-activity)

short\_link\_variant

uuid

public

Optional reference to the Short Link Variant associated with the short link click. [Ref: Short Link Variant Schema](https://docs.bbrands.io/schemas/short-link/short-link-variant.md)

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.