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

SOLVED

adobe.target.trackEvent is failing with a 400 response code

Avatar

Level 1

I have been trying to test the trackEvent function on https://www.jcpenney.com/ site but when I run a basic trackEvent call in the browser console, it is getting a 400 response code every time. I was originally using a conversion event, but it was failing with a 400 code as well. We are using target version 2.4.0.

 

Sample call

 

adobe.target.trackEvent({'mbox':'homePageTest'});

 

Any ideas on what is causing this?

 

This is our target file:

https://test.static-jcpenney.com/integration4a/yoda-assets/vendor/target.js?v=release-2108

 

Thanks.

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

HI @bbrink 

This https://www.jcpenney.com/  site is not accessible for me due to geographic conditions, however you can check below thread for adobe.target.trackEvent with an example. 

https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/adobe-target-trackevent-fail... 

Sometime issue persist with browser extensions. 

 

Hope this helps. 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

HI @bbrink 

This https://www.jcpenney.com/  site is not accessible for me due to geographic conditions, however you can check below thread for adobe.target.trackEvent with an example. 

https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/adobe-target-trackevent-fail... 

Sometime issue persist with browser extensions. 

 

Hope this helps.