Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
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