Baidu Ads tracking parameters
Baidu Tuiguang tracking docs are primarily in Chinese; token names can vary slightly by interface language. Treat {planid}/{campaignid} and {unitid}/{adgroupid} as common aliases.
Example template
utm_source=baidu&utm_medium=cpc&utm_campaign={planid}&utm_term={kw}&utm_content={ideaid}
- Confirm token names in your Baidu account UI.
- {planid}/{campaignid} and {unitid}/{adgroupid} are commonly treated as aliases.
Parameter reference
| Parameter | Returns | |
|---|---|---|
{kw} |
Keyword | |
{matchtype} |
Match type: 1 (exact), 2 (phrase), 3 (broad) | |
{keywordid} |
Keyword ID | |
{planid} |
Campaign (plan) ID | |
{campaignid} |
Campaign ID (alias) | |
{unitid} |
Ad group (unit) ID | |
{adgroupid} |
Ad group ID (alias) | |
{ideaid} |
Creative ID | |
{userid} |
Advertiser ID | |
{devicetype} |
Device: pc, mobile, tablet | |
{placement} |
Placement | |
{locid} |
Location ID | |
{time} |
Timestamp of click |
Implementation note
Always run a test click after saving. If a token appears literally in the landing URL, your UI expects the alternate alias (for example {campaignid} instead of {planid}).
FAQ
What do Baidu matchtype values mean?
Commonly 1 exact, 2 phrase, 3 broad — verify against your account’s help docs.
Need Google Ads stacks with ClickPatrol, Hyros or HubSpot? Browse recipes or build a template.