We recommend that you use Charles Proxy (you can get a free trial for Windows, OS X, or Linux) and set your phone/device to route through your computer so that you can see the network traffic. Details per device involve setting up your device on the same wifi network and then routing it through the testing computer (see here).
You may need to get the device to install the SSL certificate so that you can see the SSL traffic. To enable SSL proxying see Charles' SSL proxying documentation.
To see SSL traffic
You need to enable *.krxd.net for SSL proxying so that Charles can see the contents of the request. In the Charles menus, do the following
- Click on 'Proxy'
- Click on SSL Proxy settings
- Click on the 'add' button, and add in *.krxd.net as shown below. The * does matter.
- Click OK and then OK to get out of the settings. You should now be able to have details you can see to check that data is being sent on to Salesforce DMP
Note: You may need to have the device accept the certificate to allow SSL proxying. Please follow the directions at http://www.charlesproxy.com/documentation/faqs/ssl-connections-from-within-iphone-applications/ to make sure your device accepts the Charles certificate.
Verifying the Salesforce DMP implementation
- Open Charles.
- Open the app containing the Salesforce DMP SDK and verify that data is going through the computer. If not, please check your settings.
- Filter for krxd.net and look for data https://cdn.krxd.net/controltag/config/CONFIGID where "CONFIGID" is the ID you setup for the Salesforce DMP control tag.
As you move through the app you should see events firing off to beacon.krxd.net for the user and page attributes. If you don't see this, then you need to check things.
- Check the config id is correct
- Enable logging in the app to see what data you're sending to Salesforce DMP.
- If the data sent is blank, Salesforce DMP won't send on blank data
- Salesforce DMP complains that the SSL certificate is not valid
To check this with Salesforce DMP
- Do the above steps, and save a copy of the session.
- Create a ticket in helpdesk.
- Attach this Charles file, and ask for Salesforce DMP to check this over.