create_tracked_link
Build a UTM-tagged link for a campaign and log it so visits, spikes, and conversions are credited to that source. Create a new link for each post, email, or ad you publish.
Instructions
Create a UTM-tagged link to a page on this site for one campaign, and log it so later traffic, spikes and conversions are credited to it. Use a new link for every post, email or ad you publish. After it is published, call add_annotation so a spike that follows lists it as a cause.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Page on this site, absolute or a path like /pricing. Default /. | |
| note | No | What is being published, for later reference. | |
| medium | No | social, email, cpc, referral, ... Default social. | |
| source | Yes | Where it will be shared, e.g. reddit, newsletter, x, linkedin. | |
| campaign | Yes | Short campaign name, e.g. launch-week. |