Expand my Community achievements bar.

Join Cristinel Anastasoaie, Timothy Furlow, and Brent Kostak, WEDNESDAY, 2/28/24 @8am PT for the next Adobe Target Community Q&A Coffee Break on topics from the recent High Performance Recommendations Webinar PT 2 of the ongoing Target Personalization Maturity Webinar Series
SOLVED

redirect to experience on button click

Avatar

Level 1

I am trying to set up a test, where if someone clicks on a certain button, it'll re-direct them to that pages URL, but with an experience we have setup in Target, instead of the original page
----
<a class="button-one">www.adobe.com/test</a>
on click
show experiance-1234 www.adobe.com/test

<a class="button-two">www.adobe.com/test</a>
on click
show original www.adobe.com/test

I've tried using mboxDefine and mboxUpdate without any luck - Any advice would be very appreciated! 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi Jamessy,
The easiest way to this use-case is with the help of query parameters. Please find below solution.
You will need to configure two activities.
1.You will need to create the first activity on the page where you are adding the buttons. Furthermore, the configuration of buttons should look like this.
<a class="button-one">www.adobe.com/test?targetactivity=experience</a>
<a class="button-two">www.adobe.com/test?targetactivity=control</a>
2.Now, you need to create an audiences based on above query parameters.

vijayc88216288_0-1675233973688.png

3.You will need to create the second activity as an XT on "www.adobe.com/test" page based on audiences you created above. Using the above audiences, you can show the default or personalized experiences to your visitors.

 

View solution in original post

3 Replies

Avatar

Employee Advisor

Hi @jamessy 

Maybe you can try adding two different query params on both redirect URLs and setup activity basis those query params.

Avatar

Correct answer by
Level 2

Hi Jamessy,
The easiest way to this use-case is with the help of query parameters. Please find below solution.
You will need to configure two activities.
1.You will need to create the first activity on the page where you are adding the buttons. Furthermore, the configuration of buttons should look like this.
<a class="button-one">www.adobe.com/test?targetactivity=experience</a>
<a class="button-two">www.adobe.com/test?targetactivity=control</a>
2.Now, you need to create an audiences based on above query parameters.

vijayc88216288_0-1675233973688.png

3.You will need to create the second activity as an XT on "www.adobe.com/test" page based on audiences you created above. Using the above audiences, you can show the default or personalized experiences to your visitors.