Verifying the SDK Implementation with Charles Proxy

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 

  1. Click on 'Proxy'

  2. Click on SSL Proxy settings 



  3. Click on the 'add' button, and add in *.krxd.net as shown below.  The * does matter.



  4. 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 

  1. Open Charles.

  2. Open the app containing the Salesforce DMP SDK and verify that data is going through the computer.  If not, please check your settings.

  3. 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.

Troubleshooting

  1. Check the config id is correct

  2. Enable logging in the app to see what data you're sending to Salesforce DMP.

  3. If the data sent is blank, Salesforce DMP won't send on blank data

  4. Salesforce DMP complains that the SSL certificate is not valid

To check this with Salesforce DMP

  1. Do the above steps, and save a copy of the session.

  2. Create a ticket in helpdesk.

  3. Attach this Charles file, and ask for Salesforce DMP to check this over.

Have more questions? Submit a request

0 Comments

Article is closed for comments.