Posts

Showing posts from October, 2014

Configure Google Analytics access from Tomcat SSL

Image
My recent web application had a requirement to publish the user requests to Google Analytics (GA) who has confirmed the registration. This is because there can be users who have visited the registration page but not confirm the registration or end up with errors even they click the registration button. Fortunately, this web application is using Spring Web Flow therefore I managed to implement the helper method that will send the confirmation information to the GA as a very last even. I've used the Apache HTTP Client to send a http request to GA using Google Measurement Protocol . In my case, I don't use Java general security store, instead use the custom keystore for Tomcat. This situation is very common when you need to configure the developer environment for the secure web applications development. First you have to enter the following URL to the Firfox browser. Then click the upper left corner pad lock icon: you will get the More information button. In the next window