Campaign Tracking Classification Rule Builder - How to ignore "extra" parameters
Hello,
I’m working on setting up the Classification Rule Builder for Campaign Tracking in Adobe Analytics and need some assistance with handling extra parameters in our tracking URLs.
In some cases, our tracking URLs have additional parameters appended by default (e.g., gclid in paid search ads). I want to ensure that our classification rules can handle up to five parameters correctly while ignoring any extra parameters that may appear beyond these five.
Objective:
For URLs with exactly five parameters (e.g., source|medium|name|content|term): I want to match and capture all five parameters correctly.
For URLs with more than five parameters (e.g., source|medium|name|content|term|extra1|extra2): I want to capture only the first five parameters and ignore the rest, ensuring that the classification remains accurate and does not break.
I am using the following regular expression pattern for objective number 1: ^(.*)\|(.*)\|(.*)\|(.*)\|(.*)$
How should I set it up to ignore additional parameters?
Thank you!