Can I overwrite classification values populated by Classification Rule Builder?

Avatar

Avatar

kerriadcock

Avatar

kerriadcock

kerriadcock

15-10-2015

I have a campaign value that comes over as a URL query parameter that looks like this:  cid={channel}-{program}-{region}-{activity}.  I have rules set up in the Classification Rule Builder to parse out the values for Channel, Program, Region, and Activity.  And I have a finite list of values for channel, program, and region.  This list of values isn't being used as strictly as I'd like it to be, so I was wondering if there is any way to overwrite the values that are not in my list with "Other".  For eVars and Props I think processing rules would work, but it looks like I don't have visibility into the different component of my campaign value in processing rules.  Are there other ways to do this?

Thanks,

Kerri

View Entire Topic

Avatar

Avatar

JillsMatthew

Avatar

JillsMatthew

JillsMatthew

15-10-2015

Hi Kerri,

Classification Rules execute in the order they appear. So always the last matching rule wins.

Try setting "Other" as the first set of rules in your rule builder. Then add the rule for your specific values. In this way, all values will set to 'Other' by default. If there is a value found in cid then for that campaign the values will be overwritten by the second set of rules.

e.g.

Rule1: Channel="Other"

Rule2: Program="Other"

Rule3: Region="Other"

Rule4: Activity="Other"

Rule5: Channel={Values from your list}

Rule6: Program={Values from your list}

Rule7: Region={Values from your list}

Rule8: Activity={Values from your list}