내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How to use AT.js in already implemented React application

Avatar

Level 3

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

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 3

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.

원본 게시물의 솔루션 보기

2 답변 개

Avatar

Employee

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

Avatar

정확한 답변 작성자:
Level 3

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.