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

How to use AT.js in already implemented React application

Avatar

Avatar
Validate 1
Level 2
hariharans94469
Level 2

Likes

12 likes

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
hariharans94469
Level 2

Likes

12 likes

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
hariharans94469
Level 2

11-01-2018

Hi All,

Currently am working in Adobe target which is Targeting the react application. I am using plain javascript to achieve my feature. How can i use the AT.js extension effectively for already implemented Production site.  Is there anyway to write code in react to achieve the feature

Thanks,

Hariharan S

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Level 3
HariharanSubra1
Level 3

Likes

24 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile

Avatar
Boost 5
Level 3
HariharanSubra1
Level 3

Likes

24 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile
HariharanSubra1
Level 3

24-09-2018

on top of the site you cant use the React js implementation via adobe target. But you can use the Adobe target API to check the whhich variant are you in based on that you can process feature in application itself.

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-01-2018

Hi Hariharan,

Thanks so much for your question - you may actually find this previous forum thread on Creating Test on pages with React js

helpful, specifically: that according to the Target Product Documentation on at.js Implementation , although at.js communicates with the Target servers asynchronously, the at.js file itself must load synchronously in the <head> section of your page. Ideally, it should be one of the first scripts loaded. Once loaded, at.js executes mbox calls asynchronously through XMLHttpRequest, and does not block page rendering." Hope this is helpful - feel free to reach out here again if you have more questions!

Warmly,

Amelia