Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Campaign Tracking Code

ssharanya29
Level 2
Level 2

I have set up the campaign tracking codes classification on our production report suite. One of our advertising agencies suffix their UTM parameters to our code before sending out ads. The RegEx I have used is ^(.+)\_(.+)\_(.+)\_(.+)\_(.+)\_(.+)\_(.+)\_(.+)\_(.+)\_(.+)\_(.+)$ 

Some of our reports are now capturing our tracking code suffixed with ?utm_content and this is breaking my classification reporting due to the underscore. Could anyone please help me figure out a workaround for this? Is there a way we can omit the utm_content from getting captured?

Thanks in advance!

Analytics Campaign classifications regular expression tracking code
3 Replies
_bel_
Level 4
Level 4

If their parameters come after yours, they should be prefaced with & not ?

Talk to your agency.

angelad64963316
Level 3
Level 3
Hi, this hasn't helped. We tried that. The 1st and 2nd values are being captured together for some reason and its throwing everything out of order. Is there anything we can do with the regex to perhaps deal with exceptions? Or should make changes to the tracking code ourselves? Our tracking codes will either have a utm appended, or not so its scenario based.
PratheepArunRaj
Moderator
Moderator

Dear Sharanya,

What is the configuration to capture Tracking Code (s.campaign). Is it based on UTM_Source? Or UTM_Source + UTM_Content combined. It is nothing to do with your Classification or with your Media Agency. You would need to configure s.campaign in a way to capture whatever required. If you need personal assistance, reach out my mail box.

Thank You, Arun.