~ read.
Adobe and Google Analytics Testing In Charles Web Proxy

Adobe and Google Analytics Testing In Charles Web Proxy

Note: Mobile SSL Proxying only works on Macs. This configuration will require Admin access to your Mac computer.

Do you have Charles Web Proxy, but don't know how to test your Mobile Analytics? Read the rest of this article. Yes, this will even work on the trial version of Charles Web Proxy. Make sure you have Charles Web Proxy 3.10+.

Initial Setup

  1. Make sure Charles Web Proxy is installed in your 'Applications' folder and your user account has 'Read & Write' access.

Charles

Setup Charles Web Proxy for SSL

  1. Once Charles loads go to the menu bar and go to Proxy > SSL Proxying Settings...
  2. Check the Enable SSL Proxying box
  3. Click 'Add' and in the 'Host' field enter an asterisk '*' (this represents a wildcard so you will be accepting SSL calls from all websites)
    4 Click 'OK' and 'OK' again.

Charles

Install SSL Certificate

  1. Once Charles loads go to the menu bar and go to Help > SSL Proxying > Install Charles Root Certificate
  2. Enter your admin username and password when prompted
  3. Install the 'Charles Proxy Custom Root Certificate' in your 'System' folder in 'Keychain Access'

Charles

Initial Setup Complete.

Record Mobile Analytics Calls

  1. Make sure your Mobile Phone and Computer are in the SAME WiFi network (this is very important)
  2. In Charles go to Help > SSL Proxying > Install Charles Root Certificate on Mobile Device or Remote Browser...
  3. You will then get a popup that looks like this:

Charles

  1. (I'll be using an iPhone for this example) Again, make sure you Mobile Device is in the same WiFi network. Open up your 'Wi-Fi' page in your phone's settings and enter the information Charles Web Proxy promoted you with under 'HTTP Proxy - Manual tab' (keep 'Authentication' set to off), like this:

Charles

  1. Then on your Mobile Device's NATIVE WEB BROWSER (Safari) go to http://charlesproxy.com/getssl and install the Provisioning Profile

  2. You are now all set to see all web calls passing through your phone, including Adobe and Google Analytics!

comments powered by Disqus