How to use it
| Rule | What to do |
|---|---|
| Use it when | Splitting an open landing link into its parts and rebuilding the campaign structure. |
| First match | Check the rows in order and take the first whose test passes. One value per item. |
| Evidence | Keep the quote or frame that passed the test next to the value. |
| Role | Codes that carry it |
|---|---|
| Source | utm_source |
| Medium | utm_medium; cpc or cpa in it names the bid model |
| Campaign name | utm_campaign, or a campaign part inside a packed code |
| Campaign id | hsa_cam, gad_campaignid, or the campaign id inside a packed code |
| Ad group id | hsa_grp, or the ad group id inside a packed code |
| Ad id | hsa_ad, utm_content when it holds a number, or the ad id inside a packed code |
| Bought keyword | utm_term, hsa_kw, or the keyword inside a packed code |
| Match type | matchtype, hsa_mt, utm_matchtype: e exact, p phrase, b broad |
| Device | device, or a d, m or t value inside a packed code |
| Network | network, hsa_net, or a g or s value inside a packed code |
| Click id | gclid, gbraid, wbraid; shown as a flag only |
| Other | Any other parameter; read it when it repeats an id or a keyword |
Attribution and app-measurement tools add their own codes, and one value can pack campaign, ad group and ad ids together. Read them for the same roles.