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

Classification Rule Builder Test does not match Reports

Avatar

Avatar
Validate 1
Level 1
samuelk43030251
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
samuelk43030251
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
samuelk43030251
Level 1

04-10-2017

I have an issue with the Classication Rule Builder in which a rule that behaves correctly when tested returns values that are not correct in the report. Specifically, I’m using a the following rule:

  • Rule Type: Regular Expression
  • Matching Condition: ^(([^_|]*)_([^_|]*)_([^_|]*)_([^_|]*)_([^_|]*))\|(([^_|]*)_([^_|]*))\|(([^_|]*))\|(([^_|]*)_([^_|]*)_([^_|]*))\|(([^_|]*)_([^_|]*)_([^_|]*)_([^_|]*))$
  • Set classification: utm_campaign
  • To: $1

When I test this with:

‘mombaby_foc_17m8_care_hp-pn|video_|programmatic|w2045-twincities_demo_awareness|video_v1_birth_|mombaby_foc_17m8_care_hp-pn|video_|programmatic|w2045-twincities_demo_awareness|video_v1_birth_’,

utm_campaign is blank, indicating no match. However in the report, the same tracking code matches utm_campaign with:

‘mombaby_foc_17m8_care_hp-pn|video_|programmatic|w2045-twincities_demo_awareness|video_v1_birth_|mombaby_foc_17m8_care_hp-pn’

What is going on here?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
joshd7227840
MVP

Likes

275 likes

Total Posts

241 posts

Correct Reply

70 solutions
Top badges earned
Contributor
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Contributor
MVP
joshd7227840
MVP

Likes

275 likes

Total Posts

241 posts

Correct Reply

70 solutions
Top badges earned
Contributor
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joshd7227840
MVP

14-02-2018

The regex you posted will not match the key you posted.  You can easily verify this by testing it in two different places in the rule builder, or online elsewhere (e.g. www.regex101.com). So,l if your classification report is getting popped with a value, then the value is coming from somewhere else.

Possible sources:

  1. Your posted CRB does not accurately reflect what you actually have
  2. You have another rule in your CRB matching it
  3. You imported classifications for that key via browser or ftp location
  4. The key was previously classified from something else (manually or automated)
    1. Sometimes there is funkiness with re-classifying columns vs. previously classified data. Especially if you rename columns instead of delete them, or delete them when they are not the last column listed. Did you recently re-classify the report? Try deleting all classification columns from the report and add them again.

.josh

Answers (5)

Answers (5)

Avatar

Avatar
Level 1
josed30633309
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
josed30633309
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile
josed30633309
Level 1

08-10-2020

I have a similar issue, with a classification rule applied to product values (details included here: https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/adobe-analytics-classific...

 

We have double checked all the recommendations presented here and everything seems to be fine (there is even no chance of other rule conflicting).

 

Do you have any idea on what may be causing this? Is this perhaps a known bug?

Avatar

Avatar
Validate 1
Level 1
maureenk3526370
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
maureenk3526370
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
maureenk3526370
Level 1

17-10-2019

I am having a similar issue.  I ran a classification rule builder test.  The results were perfect.  All columns populated with expected parsed attributes - But when I run a report I only see Unspecified.  The delimiter I am using is an underscore. 

cid=([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)\_([^\_]*)Theme

Does it take some times to actually process in the reports?

Avatar

Avatar
Boost 50
Level 4
proletm
Level 4

Likes

62 likes

Total Posts

23 posts

Correct Reply

2 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Level 4
proletm
Level 4

Likes

62 likes

Total Posts

23 posts

Correct Reply

2 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
proletm
Level 4

13-02-2018

Did you try testing the match in the classification rule builder test window? Does it still match there?

Avatar

Avatar
Validate 1
Level 1
samuelk43030251
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
samuelk43030251
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
samuelk43030251
Level 1

04-10-2017

This is the only rule that classifies utm_campaign.

I'm not trying to classify any part of the above string - it should not match. However, it is matching with ‘mombaby_foc_17m8_care_hp-pn|video_|programmatic|w2045-twincities_demo_awareness|video_v1_ birth_|mombaby_foc_17m8_care_hp-pn’ to $1.

$1 is the equivalent of '^([^_|]*_[^_|]*_[^_|]*_[^_|]*_[^_|]*)$', the first parentheses.

Avatar

Avatar
Establish
Employee
hyderziaee
Employee

Likes

228 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile

Avatar
Establish
Employee
hyderziaee
Employee

Likes

228 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile
hyderziaee
Employee

04-10-2017

You may have to consider that this specific rule may not be the one classifying it. if you have just written the rule, it could also mean that it has still not reflected in the reports.

Question: What part are you trying to classify in the above string in utm_campaign?