Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Data Not coming in Mobile App Suites

Avatar

Level 2

Hi All , 

I am trying to implement Mobile Services SDK on Sample App which is provided by Adobe it self  to see basic State, Action & Life cycle metrics . 

I had some problem before , I have resolved it using some help from here and now I am seeing data being sent in Bloodhound but when I see in Report Suite I am seeing nothing .. 

I was under impression that at least basic , Life Cycle ,  State , Actions and Technology Reports should populate .. All I am seeing are zeros .  

I have attached screen shot of Blood hound showing data of Lifecycle , State , Actions and I am also attaching screen shot of ADBMobileConfig.JSON for reference .  

Pardon me I have highlighted some fields like RS , App Id for confidentiality ..  

Any help would be greatly appreciated ..  

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hey Anudeep,

At its core, Bloodhound is just a proxy server.  If the IP address of Bloodhound is used as your endpoint for your request (192.168.0.100:50000 in your ADBMobileConfig.json attached), the concept of forwarding is lost - there is nowhere for Bloodhound to "forward" the hit to.

Instead, you should use your Analytics tracking server in the config file (as mentioned by JillsMatthew above).  You should then modify the network settings on your test device to proxy via Bloodhound.  You can do this manually, or by using the Proxy Auto Config (PAC) URL provided in Bloodhound.  Once the proxy on your device is setup properly, Bloodhound will intercept network traffic from the device.  If the traffic originated from the Adobe SDK, a hit will be processed.  At this point, if "Forward Hits" is checked, Bloodhound can properly pass through the original request on behalf of your test device.  If "Forward Hits" is unchecked, the original request will never reach its destination.

Hope this helps.

 

steve benedick

sr mobile software engineer

View solution in original post

10 Replies

Avatar

Level 9

Hi Anudeep

There are two common issues when beginning to send data through mobile apps:

1 - Forward Hits is not checked in Bloodhound - I noticed in your screenshots 'forward hits' is not checked. If you check this box do the hits come through? (see http://microsite.omniture.com/t2/help/en_US/sc/appmeasurement/qa/view_hits.html)

2 - Timestamps - if the above doesn't fix the issues verify the timestamp setting on the report suite. i.e. If you are sending timestamps in the hit, timestamps should be enabled on the suite. You can check this setting within Analytics by going to Admin > Report Suites > Edit Settings > General > Timestamp Configuration or within Adobe Mobile Services by editing the App Settings > expand the SDK Analytics Options > look under 'Offline Tracking' aka timestamps.

Let me know if that doesn't work.

-Tacia

Avatar

Level 2

HI Tacia . 

 

I have tried both of the options, I was able to see hits when I had clicked Forward Hits button in Bloodhound after checking Timestamp enabled or not . 

Its been 2 Hours , I should be able to see some data upto now , Not sure where i am doing wrong .. I have attached screen of Time Stamp setting  , Please verify ..

Regards

Anudeep 

Avatar

Level 9

Anudeep Srivastav wrote...

HI Tacia . 

 

I have tried both of the options, I was able to see hits when I had clicked Forward Hits button in Bloodhound after checking Timestamp enabled or not . 

Its been 2 Hours , I should be able to see some data upto now , Not sure where i am doing wrong .. I have attached screen of Time Stamp setting  , Please verify ..

Regards

Anudeep 

 

The timestamp configuration matches the settings in your config file. Data will only be sent to the suite via bloodhound if forward hits is checked. 

Best,

Tacia

Avatar

Level 2

Hi Tacia , 

Even though I had checked Forward hits button in blood hound while sending the data , I was not able to see anything in RS yesterday . 

I guess its time stamp issue which should be in sync with Offline Tracking enabled functionality , As I have no idea whether Time Stamp is enabled or not  I have tried to tweak Offline Enabled in ADBMobileConfig.json file to false and tried to send the hits . I believe this should give me some data as my local ADBMobileConfig.json will override settings in Mobile Services (Correct me if i am wrong here in assuming overriding option )   

I have attached both of the screens for your reference . 

Please let me know if you feel something else might be the issue , Also Would you be able to tell me how i can check time stamp is enabled / not for a report suite .?? 

Regards

Anudeep 

Avatar

Level 2

Blood hound with Forward hits checked .. 

Avatar

Level 2

Hi Tacia , 

Any Reply on this ?? 

Regards

Anudeep 

Avatar

Level 4

Try fixing the below things as well:

1. Server value in your config file must be your analytics trackingserver (e.g. xxxxxx.sc.omtrdc.net)

2. Since you have Offline tracking enabled on your report suite, offlineEnabled must be "true" in your config file

3. If you haven't done already - create the necessary processing rules for mapping context data variables to Analytics variables

Avatar

Correct answer by
Employee

Hey Anudeep,

At its core, Bloodhound is just a proxy server.  If the IP address of Bloodhound is used as your endpoint for your request (192.168.0.100:50000 in your ADBMobileConfig.json attached), the concept of forwarding is lost - there is nowhere for Bloodhound to "forward" the hit to.

Instead, you should use your Analytics tracking server in the config file (as mentioned by JillsMatthew above).  You should then modify the network settings on your test device to proxy via Bloodhound.  You can do this manually, or by using the Proxy Auto Config (PAC) URL provided in Bloodhound.  Once the proxy on your device is setup properly, Bloodhound will intercept network traffic from the device.  If the traffic originated from the Adobe SDK, a hit will be processed.  At this point, if "Forward Hits" is checked, Bloodhound can properly pass through the original request on behalf of your test device.  If "Forward Hits" is unchecked, the original request will never reach its destination.

Hope this helps.

 

steve benedick

sr mobile software engineer

Avatar

Level 6

while this doesn't fix you base problem one thing I did was enable the real-time reports for my mobile report suite and setup to look for some of the data coming in.

that way I saw within a few seconds if things were working and didn't have to wait 10-15 minutes for analytics to process the data and for it to show up in reports.

Avatar

Level 2

Hi Steve & Warren , 

Yes I have messed up with tracking server on JSON and proxy settings in my device , It got resolved now .. 

I am able to see data in Reports & Analytics interface, Thanks for your responses guys .. :) 

Regards

Anudeep Srivastav