jchabot86
Community profile jchabot86 Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 18-02-2021 8:06:30 AM
Offline
Top badges earned by jchabot86
Customize the badges you want to showcase on your profile
Profile Scripts Environmennts
Avatar
Boost 3
Level 1
jchabot86
Level 1

Likes

4 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
jchabot86
- Adobe Target
Is there a recommended approach to having Profile Scripts change but only effect a dev environment vs production? Currently it seems like you can't allocate a profile script to a specific environment, so once it is edited, it will immediately effect production.

Views

81

Likes

0

Replies

1
Re: Is there an event we can listen to so we know when ad...
Avatar
Boost 3
Level 1
jchabot86
Level 1

Likes

4 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
jchabot86
- Adobe Target
Sorry, posted a separate 'answer' as my reply. Please take a look.

Views

103

Likes

0

Replies

0
Re: Is there an event we can listen to so we know when ad...
Avatar
Boost 3
Level 1
jchabot86
Level 1

Likes

4 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
jchabot86
- Adobe Target
Not 100% sure I'm following. I can't even exectue the getJsonOffers() function to use its asynchronous functionality. As you can see in the screenshot - adobeVailable() function checks for adobe.target and adobe.target.getJsonOffer. As you can see, even the 'target' property isn't there yet for me to execute, thus it would cause runtime errors if I tried to.

Views

104

Like

1

Replies

0
Is there an event we can listen to so we know when adobe target scripts are done loading? For SPA..
Avatar
Boost 3
Level 1
jchabot86
Level 1

Likes

4 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
jchabot86
- Adobe Target
We have a react SPA. First page that the user goes to, it seems the "adobe" object is available, but target.getJsonOffer() is not there yet. Eventually it is there and we can execute it but not unless we do some sort of timeout functionality or force the SPA to re-render. Is there some sort of mechanism to knowing when the getJsonOffer, triggerView, etc. functions are available so we can start firing them?

Views

160

Like

1

Replies

4
Re: Network Request Failed
Avatar
Boost 3
Level 1
jchabot86
Level 1

Likes

4 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
jchabot86
- Adobe Target
To add onto that, if I run Firefox in "strict" mode: I am able to replicate it:

Views

179

Likes

0

Replies

0
Re: Network Request Failed
Avatar
Boost 3
Level 1
jchabot86
Level 1

Likes

4 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
jchabot86
- Adobe Target
Personally, I do not get the error, but a lot of our end users do seem to get the error. Unfortunately, I am unable to get their actual console logs. A realtime user monitoring tool we use is detecting that this error is occurring for multiple users. 2. where is your at.js file located and how you are referring at.js in react app??Loading of script (from public folder)/targetpageParams: Function to execute getOffer() 3. who is your user, is it internal users (inside vpn) or your end user?End use...

Views

188

Likes

0

Replies

0
Re: Network Request Failed
Avatar
Boost 3
Level 1
jchabot86
Level 1

Likes

4 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
jchabot86
- Adobe Target
Personally, I do not get the error, but a lot of our end users do seem to get the error. Unfortunately, I am unable to get their actual console logs. A realtime user monitoring tool we use is detecting that this error is occurring for multiple users. 2. where is your at.js file located and how you are referring at.js in react app??Loading of script (from public folder)/targetpageParams: Function to execute getOffer() 3. who is your user, is it internal users (inside vpn) or your end user?End use...

Views

177

Like

1

Replies

0
Re: Network Request Failed
Avatar
Boost 3
Level 1
jchabot86
Level 1

Likes

4 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
jchabot86
- Adobe Target
It's not me personally...its our users that we see hitting this issue. Are you thinking they may be using some sort of VPN or proxy?

Views

191

Likes

0

Replies

0
Network Request Failed
Avatar
Boost 3
Level 1
jchabot86
Level 1

Likes

4 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
jchabot86
- Adobe Target
We are noticing that a lot of our users seem to hit a "network request failed" when bringing the at.js file into a React web application: This is a screenshot of the error we are detecting. What is the typical cause of this? Can it be security settings on the browser? Is there a workaround?

Views

253

Like

1

Replies

6
Likes from