Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.
SOLVED

Unable to submit data using Java AppMeasurement API

Avatar

Level 1

Hi there,

 

 

1)Jboss server is used for hosting web application at our end.

2)Java AppMeasurement API is used to connect from my server side code to track page downloads.

3)A new suite has been created to test and AppMeasurement_EE jar has been included and the below code has been written

 

AppMeasurement s = new AppMeasurement(request, response);

s.account = "xxx";

s.sendFromServer = true;

s.trackingServer = "xxxxxxxx.112.2o7.net";

s.track();

 

When the code is being run there are no exceptions or errors but the pages are not being tracked.

Suspecting that a connection to the tracking server is not being established.

 

Looking forward to getting a solution.

 

Thankyou.

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi

1. Please packet sniffer to verify the image consist of configured values.

2. Place alert in the function to check, its being called or not.

 

 

Regards

Devinder

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

Hi

1. Please packet sniffer to verify the image consist of configured values.

2. Place alert in the function to check, its being called or not.

 

 

Regards

Devinder