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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 1st edition of the Target Community Lens newsletter is out now! Click to the right to find all the latest updates
SOLVED

Adobe Target now working when i use Hash parameter

Avatar

Level 2

Hello,

 

I am doing an A/B Test on our SPA website. It works perfect but when I add the HASH parameter in Audience Refinements it stops working. It does not inject my code.

 

Site Pages: Current Page URL contains
mywebsite.es
 
Site Pages: Current Page Hash (#) fragment contains
#mypage

 

¿What the reason could be?

 

Regards

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @miguelb82821298,

 

When you create an activity in VEC, it tries to add the mboxEdit=1 and mboxDisable=1 as a query parameter in the URL, to be able to make the changes.

 

However with # fragment , this might not be possible.

 

I suggest creating an activity on homepage and use the #Hash fragment as an activity audience. Hope that works!

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi @miguelb82821298,

 

When you create an activity in VEC, it tries to add the mboxEdit=1 and mboxDisable=1 as a query parameter in the URL, to be able to make the changes.

 

However with # fragment , this might not be possible.

 

I suggest creating an activity on homepage and use the #Hash fragment as an activity audience. Hope that works!