Yes. You can put Google UTM parameters and Piano Analytics at_ campaign parameters in the same URL. A URL can only have one query string, which starts with the ? character, so all the campaign parameters must go in that same query string, each separated by &.
URL structure
Use a single ?, then list all the parameters separated by &:
https://myurl.com/?utm_source=...&utm_campaign=....&at_medium=....
-
Don't add another
?between groups of parameters. It breaks the query string and prevents correct parsing. -
Follow the standard
at_tagging rules. For example, avoid unsupported or special characters inat_parameter values, as they can prevent the campaign from being collected.
Priority between at_ and utm_
When you configure several prefixes, Piano Analytics evaluates them in order, and the first prefix has priority. For example, with campaignPrefix: "at_,utm_":
-
If
at_parameters are detected, they are used first. -
If no
at_parameters are found, Piano Analytics analyzes theutm_parameters.
For example, a link with both at_campaign=spring and utm_campaign=newsletter is attributed to the "spring" campaign with this configuration.
Use only UTM parameters
To use only UTM parameters as campaign sources, without adding at_ tagging, configure utm_ as the only prefix:
pa.setConfigurations({
website: 123456789,
collectDomain: "",
campaignPrefix: "utm_"
});
For more on this, see UTM management.