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

Javascript code injected not displaying

Avatar

Avatar
Validate 1
Level 1
miguelb82821298
Level 1

Likes

3 likes

Total Posts

6 posts

Correct Reply

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

Avatar
Validate 1
Level 1
miguelb82821298
Level 1

Likes

3 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
miguelb82821298
Level 1

20-01-2020

Hello!

I am new using adobe target. I am doing a Test AB. Experience A is the control (default Page) and Experience B is what I want to change. I do not have access to the new Librarie so I wrote an extra code to inject it.

 

When I inject my code in the console I can see the changes on the website. When I inject the code in Adobe Target I can see it in Edict Activity (where I write my new code in the custom code) and in the URL given by Activity QA. 

 

When I change the Test status to Active,  I can still see it in Edict Activity and Activity QA. But It is not displaying when I enter into my regular url (like an user would do it)

 

Anyone knows what can I do? What could be my error?

 

 

 

Thank You!!! 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
Level 8
gaureshk3014423
Level 8

Likes

195 likes

Total Posts

166 posts

Correct Reply

32 solutions
Top badges earned
Springboard
Validate 1
Contributor
Coach
Shape 10
View profile

Avatar
Springboard
Level 8
gaureshk3014423
Level 8

Likes

195 likes

Total Posts

166 posts

Correct Reply

32 solutions
Top badges earned
Springboard
Validate 1
Contributor
Coach
Shape 10
View profile
gaureshk3014423
Level 8

20-01-2020

Hey miguel,

Check in response token whether you are falling in exp A or exp B (on live URL)

If you are falling into exp A you will not see any changes as it's an default experience.

If you are falling into experience B and still not able to see any changes, there might be some issues with code. As target library might getting fired before the element which you are trying to edit. Which is causing failure. 

You can try putting ur code in setTimeout() or setInterval() function which may help you to work this out

Answers (1)

Answers (1)

Avatar

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

190 likes

Total Posts

449 posts

Correct Reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

190 likes

Total Posts

449 posts

Correct Reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile
Amelia_Waliany
Employee

22-04-2020

Hi @miguelb82821298

 

Our next Adobe Target Skill Builder Webinar is right around the corner on May 5th, and will be presented by Adobe Target Product Management on migrating Adobe Target’s mbox.js to At.js. Check out this community discussion to register today. Hope you can make it!
 
Warmly,
Amelia