Is it possible to combine Google UTM and AT campaign tags in one URL?
Yes—it's possible to combine Google UTM parameters and Piano Analytics at_ campaign parameters in the same URL.
Because a URL can contain only one query string (the ? character), you must include all campaign parameters in that same query string and separate each parameter with &.
Recommended URL structure
Use a single ?, then list all parameters separated by &. For example:
https://myurl.com/?utm_source=...&utm_campaign=....&at_medium=....
Important notes
Do not place another
?between parameter groups. This breaks the query string and prevents correct parsing.Follow the standard
at_tagging rules (for example, avoid unsupported/special characters inat_parameter values, as they may prevent campaign collection).
Priority between at_ and utm_
When multiple prefixes are configured, Piano Analytics evaluates them in order. The first prefix has priority:
With
campaignPrefix: "at_,utm_", ifat_parameters are detected, they are used first.If no
at_parameters are found, thenutm_parameters are analyzed.
Using only UTM as campaign sources
If you want to use only UTMs as campaign sources (and avoid adding Piano at_ tagging), you can configure only utm_:
pa.setConfigurations({
website: 123456789,
collectDomain: "",
campaignPrefix: "utm_"
});
You can find more information on this topic by following this link: https://developers.piano.io/analytics/data-collection/how-to-send-events/marketing-campaigns/#utm-management