Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

manage_tracking_links

Change, archive or restore a tracked link

writes found with search_tools

Change one tracked link, chosen with `action`. update: its label, where it leads (destination_url) or its campaign parameters; only what you send changes, and the short address stays the same, so posts that already carry it keep working and now lead to the new destination. archive: the link leaves the lists and stops counting clicks; its short address still forwards visitors, so posts that carry it keep working, and its recorded clicks and leads stay. restore: an archived link counts clicks again.

Never put personal data (names, email addresses) in a destination or a parameter. Changing the destination of a link that is in published content changes where real visitors land: do it only when the person asked for exactly that. Use create_tracking_link for a new link and list_tracking_links to find one.

Arguments

NameTypeNeededWhat it is
action string yes One of: update, archive, restore
link_id string yes The tracked link id from list_tracking_links.
label string no update: a short name people will recognize in reports.
destination_url string no update: where the link leads, a full https address on the person's own site.
utm_source string no update: for example facebook, instagram, linkedin, newsletter. An empty string clears it.
utm_medium string no update. An empty string clears it.
utm_campaign string no update. An empty string clears it.
utm_content string no update: tells variants apart. An empty string clears it.
utm_term string no update. An empty string clears it.

Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.

How it behaves

  • It changes something in the workspace, within what the signed-in person's role allows.
  • It is not in the first list an assistant sees; the assistant finds it with search_tools and runs it with execute_tools.

How tools behave: confirmation, review links, errors and limits

create_tracking_link · get_landing_page · list_landing_pages · list_tracking_links · manage_tracking_sites · request_landing_page_publication · save_landing_page