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

Segment to filter URL contains sku = 7{*******} alphanumeric value

Avatar

Avatar
Validate 25
Level 2
dinesh_kumar_r
Level 2

Likes

12 likes

Total Posts

96 posts

Correct Reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Applaud 5
View profile

Avatar
Validate 25
Level 2
dinesh_kumar_r
Level 2

Likes

12 likes

Total Posts

96 posts

Correct Reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Applaud 5
View profile
dinesh_kumar_r
Level 2

07-04-2020

Hi Team,

 

I am trying to build a visit level segment based on pageURL contains sku={*******}.We are passing the 7 digit alphanumeric value(for instance: T6L04AA) in the product page URL. I am trying to use these 7 digit alphanumeric value as condition. But I am not able to create it as we have huge number of sku's. Can you please help me here to create segment using regular expression?

 

for instance: https://b2b.hp.com/productDetails/details?a1ustri3=KyWOhEs4RFAAAAYEtQExQ0R_&sku=T6L04AA&productType=catalog&a1ortri2=ppurKnessyhT%20

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 1
Agustin_Suarez
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 1
Agustin_Suarez
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Agustin_Suarez
Level 1

07-04-2020

Hi Dinesh,


@dinesh_kumar_r wrote:

...But I am not able to create it as we have huge number of sku's...


It sounds that maybe you are going to reach the 500K value limit per dimension. In any case, you cannot use regexp while working with segments. The most  you can do is to use wildcards, and wildcards only work for whole values in the dimension. For instance:

  • Your dimension matches 10_*_000 delivers:
    • 10_20495_000
    • 10_219432_000
    • 10_32_000
    • ...

For your requeriments, it looks like that the best approach would be, imho, to capture SKU parameter in a new eVar. From here, you can use the Classification Rule Builder with any desired regexp to create the segments as you need. I hope it helps.

 

Cheers,

Agustin

Answers (0)