Expand my Community achievements bar.

Join us WEDNESDAY, 6/7/23 @8am PT for the next Adobe Target Community Q&A Coffee Break! Bill Ozinga, John Mosbaugh, Justin Patrick, and Eric Thibeault will be taking all of your Target Recommendations questions in the chat ~ learn more and register today!
SOLVED

Redirect to same url with query string added

Avatar

Level 2

Hi,

 

Is there a way to redirect from https://www.test.com/testpath to https://www.test.com/testpath?newvi=1 without the activity looping?

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 4

@user41905425 one way to stop this is to send a mbox parameter when you see the url param newvi=1 and create audience like param not present for entering the redirect campaign.

 

another way would be template rule setting like this

nnakirikanti_0-1678309830633.png

 

Note: This is not intended use case of adobe target for parameters passing for same page, these kind of redirections should be done at webserver level or CDN level.

1 Reply

Avatar

Correct answer by
Level 4

@user41905425 one way to stop this is to send a mbox parameter when you see the url param newvi=1 and create audience like param not present for entering the redirect campaign.

 

another way would be template rule setting like this

nnakirikanti_0-1678309830633.png

 

Note: This is not intended use case of adobe target for parameters passing for same page, these kind of redirections should be done at webserver level or CDN level.

Avatar

Level 2

@user41905425 the easiest option would be to check the box that says "Include Current Query Parameters"

Gaurav_Singh_02_0-1678306681901.png

This would avoid the conditions to be true once you are redirected and hence would avoid the loop.

 

Another option would be to use a template rule to avoid redirect when the query parameter contains : newvi=1 

 

page footer