[{"data":1,"prerenderedAt":235},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fgetting-started\u002Flinks":81,"\u002Fdocs\u002Fgetting-started\u002Flinks-surround":230},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","\u002Fdocs","docs",[9,13,61],{"title":10,"path":6,"stem":11,"icon":12},"Introduction","docs\u002Findex","i-lucide-house",{"title":14,"icon":15,"path":16,"stem":17,"children":18,"page":15},"Getting Started",false,"\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[19,24,29,34,51,56],{"title":20,"path":21,"stem":22,"icon":23},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F1.installation","i-lucide-download",{"title":25,"path":26,"stem":27,"icon":28},"Creating links","\u002Fdocs\u002Fgetting-started\u002Flinks","docs\u002F1.getting-started\u002F2.links","i-lucide-link",{"title":30,"path":31,"stem":32,"icon":33},"Testing","\u002Fdocs\u002Fgetting-started\u002Ftesting","docs\u002F1.getting-started\u002F3.testing","i-lucide-flask-conical",{"title":35,"path":36,"stem":37,"children":38,"icon":40},"iOS attribution","\u002Fdocs\u002Fgetting-started\u002Fios-attribution","docs\u002F1.getting-started\u002F4.ios-attribution\u002Findex",[39,41,46],{"title":35,"path":36,"stem":37,"icon":40},"i-lucide-smartphone",{"title":42,"path":43,"stem":44,"icon":45},"App Clips","\u002Fdocs\u002Fgetting-started\u002Fios-attribution\u002Fapp-clips","docs\u002F1.getting-started\u002F4.ios-attribution\u002F1.app-clips","i-lucide-app-window",{"title":47,"path":48,"stem":49,"icon":50},"Pasteboard","\u002Fdocs\u002Fgetting-started\u002Fios-attribution\u002Fpasteboard","docs\u002F1.getting-started\u002F4.ios-attribution\u002F2.pasteboard","i-lucide-clipboard-paste",{"title":52,"path":53,"stem":54,"icon":55},"Analytics, MAU & Plans","\u002Fdocs\u002Fgetting-started\u002Fanalytics","docs\u002F1.getting-started\u002F5.analytics","i-lucide-chart-line",{"title":57,"path":58,"stem":59,"icon":60},"Workspaces & Team Access","\u002Fdocs\u002Fgetting-started\u002Fworkspaces","docs\u002F1.getting-started\u002F6.workspaces","i-lucide-building-2",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":15},"SDKs","i-lucide-package","\u002Fdocs\u002Fsdks","docs\u002F2.sdks",[67],{"title":68,"icon":69,"path":70,"stem":71,"children":72,"page":15},"Capacitor","i-simple-icons-capacitor","\u002Fdocs\u002Fsdks\u002Fcapacitor","docs\u002F2.sdks\u002F1.capacitor",[73,76],{"title":20,"path":74,"stem":75,"icon":23},"\u002Fdocs\u002Fsdks\u002Fcapacitor\u002Finstallation","docs\u002F2.sdks\u002F1.capacitor\u002F1.installation",{"title":77,"path":78,"stem":79,"icon":80},"API reference","\u002Fdocs\u002Fsdks\u002Fcapacitor\u002Fapi","docs\u002F2.sdks\u002F1.capacitor\u002F2.api","i-lucide-code",{"id":82,"title":25,"body":83,"description":223,"extension":224,"links":225,"meta":226,"navigation":227,"path":26,"seo":228,"stem":27,"__hash__":229},"docs\u002Fdocs\u002F1.getting-started\u002F2.links.md",{"type":84,"value":85,"toc":218},"minimark",[86,91,101,105,108,189,201,205,208,214],[87,88,90],"h2",{"id":89},"in-the-dashboard","In the dashboard",[92,93,94,95,100],"p",{},"Create links from the ",[96,97,99],"a",{"href":98},"\u002Fdashboard","dashboard"," under your app. Each link gets a short URL on your app's custom link domain that resolves on iOS and Android.",[87,102,104],{"id":103},"via-the-api","Via the API",[92,106,107],{},"Links can also be created programmatically through the REST API:",[109,110,116],"pre",{"className":111,"code":112,"filename":113,"language":114,"meta":115,"style":115},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -X POST https:\u002F\u002Fapi.getattriv.com\u002Fapi\u002Fapps\u002FYOUR_APP_ID\u002Flinks \\\n  -H \"Authorization: Bearer \u003Caccess_token>\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{ \"channel\": \"instagram\", \"campaign\": \"spring-launch\" }'\n","Terminal","bash","",[117,118,119,142,160,174],"code",{"__ignoreMap":115},[120,121,124,128,132,135,138],"span",{"class":122,"line":123},"line",1,[120,125,127],{"class":126},"sBMFI","curl",[120,129,131],{"class":130},"sfazB"," -X",[120,133,134],{"class":130}," POST",[120,136,137],{"class":130}," https:\u002F\u002Fapi.getattriv.com\u002Fapi\u002Fapps\u002FYOUR_APP_ID\u002Flinks",[120,139,141],{"class":140},"sTEyZ"," \\\n",[120,143,145,148,152,155,158],{"class":122,"line":144},2,[120,146,147],{"class":130},"  -H",[120,149,151],{"class":150},"sMK4o"," \"",[120,153,154],{"class":130},"Authorization: Bearer \u003Caccess_token>",[120,156,157],{"class":150},"\"",[120,159,141],{"class":140},[120,161,163,165,167,170,172],{"class":122,"line":162},3,[120,164,147],{"class":130},[120,166,151],{"class":150},[120,168,169],{"class":130},"Content-Type: application\u002Fjson",[120,171,157],{"class":150},[120,173,141],{"class":140},[120,175,177,180,183,186],{"class":122,"line":176},4,[120,178,179],{"class":130},"  -d",[120,181,182],{"class":150}," '",[120,184,185],{"class":130},"{ \"channel\": \"instagram\", \"campaign\": \"spring-launch\" }",[120,187,188],{"class":150},"'\n",[92,190,191,192,195,196,200],{},"The workspace is resolved automatically when you belong to exactly one — otherwise pass ",[117,193,194],{},"-H \"x-attriv-org: \u003Cworkspace_id>\""," (see ",[96,197,199],{"href":198},"\u002Fdocs\u002Fgetting-started\u002Fworkspaces#the-x-attriv-org-header","Workspaces",").",[87,202,204],{"id":203},"resolving-a-link","Resolving a link",[92,206,207],{},"Opening a link URL on a device with the app installed deep-links straight into the app. On a device without the app, the visitor lands on a store-aware page that attributes the click for deferred install matching.",[209,210,211],"note",{},[92,212,213],{},"Links only resolve on verified custom link domains. Verify a domain for your app in the dashboard before sharing links.",[215,216,217],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":115,"searchDepth":123,"depth":144,"links":219},[220,221,222],{"id":89,"depth":144,"text":90},{"id":103,"depth":144,"text":104},{"id":203,"depth":144,"text":204},"Create deep and affiliate links on your custom link domains.","md",null,{},{"icon":28},{"title":25,"description":223},"UvGnfThZcCWWif64KwEucOegaIBLL285GMEZayJftog",[231,233],{"title":20,"path":21,"stem":22,"description":232,"icon":23,"children":-1},"Add the Attriv SDK to your app and start tracking installs.",{"title":30,"path":31,"stem":32,"description":234,"icon":33,"children":-1},"Use the test environment to verify attribution and revenue events without polluting live stats.",1796354788261]