Skip to content

buildDestination

function buildDestination(input): string;

Defined in: src/destination.ts:31

Merge UTM parameters (never overriding ones already on the destination), forward the short URL’s query (destination params win), and append the click id. Non-http(s) URLs (app schemes) get the same treatment when they parse as URLs; anything unparseable is returned untouched.

Parameter Type
input BuildDestinationInput

string