Crawling and Google Analytics integration, done!

It’s been a while since we added features to Gwt-Platform and since Google I/O is finished, we felt that some feature needed to be dealt with. One of these is the ability to easily let any GWTP application be crawlable by a search engine crawler following Google’s guidelines. For a while now we had a basic implementation that was used by many of you to build your own solution. But speed issues and timing constraints made it impossible to use the same approach on AppEngine. Now with features like always on and warmup request we can offer something easy to install and responsive. For more information about how to make the crawler work, take a good look at this piece of documentation.

The second feature we worked on is the seamless integration of your presenter-based application with Google Analytics. This new feature will automatically track any navigation event and presenter change provided you add the following bindings to your gin module:

    bind(GoogleAnalytics.class).to(GoogleAnalyticsImpl.class).in(Singleton.class);
    bindConstant().annotatedWith(GaAccount.class).to("UA-XXXXXXX-X");
    bind(GoogleAnalyticsNavigationTracker.class).asEagerSingleton();

The first line let’s you bind the various google Analytics function to our implementation, this line can be avoided by installing the new default module that we introduce with GWTP 0.6. The second line is where you bind your Google Analytics account to this application and the last line is where the tracker is actually instanciated alongside your application. As you can see, these three little lines will take care of everything and you’ll even be able to go further by injecting the GoogleAnalytics interface wherever you need it, so you can easily track custom events right from your GWT code. For more information about GWTP integration with Google Analytics check out this documentation page.

These features are only available in trunk and 0.6-SNAPSHOT for now. However the official release of GWTP 0.6 is planned for very soon. Stay tuned!

See ya next year Google I/O !

It’s been an incredible trip to San Francisco. We arrived Saturday afternoon and spent some time visiting the city before Google I/O. For some of us, like myself, it was our first time in San Francisco and we were stunned by the beauty of the city! On Monday we attended the boot camp and it gave us a chance to meet early on with many great developers. We then attended a mini-summit at Google’s office where we had an opportunity to learn more about some of the coolest projects being built on GWT today. We also met with some of the core developers on GWT as well as some of the most influential members of the community and, guess what, it’s packed full of very friendly and very knowledgeable people. No wonder the open source GWT scene is so flourishing!

Then, on Tuesday, Google I/O proper began.  What an event! From the start the organization appeared flawless, even though the crowd was huge, all the details seemed right even. Well, ok, save for the WiFi… Day one started with the first keynote, where we learned about the future of Android and received the new Galaxy Tab 10.1. Following this, it was time for us to hit the session Philippe was giving together with David Chandler and Jeff Schnitzer. Wow, the room was packed and they even had to refuse some people at the door! I want to thank everyone one who attended Highlighly Productive GWT, as well as those of you who missed it but watched the YouTube version. After the sessions we met many users of GWT-Platform as well as a enthusiasts who wanted to give it a try. Tuesday’s after hours event was totally crazy, lots of robots, Google’s self-driving car, and tons of geeky bleeding edges gizmos that were just fun to watch and try.

Day two was also filled with a lot of interesting sessions. The conference boasted many interesting sessions on GWT but, unfortunatly, I could not attend every single one of them so I’m trying to catch up on some of what I missed on YouTube, please let me know of your favorite session in the comments, to make sure I don’t miss it.  On Wednesday night I had the chance to have dinner with some the finest GWT experts like David Chandler, Jeff Larsen, Pierre-Laurent Coirier, Kyle Baley and others. I had a really great time with them and it was fun to share ideas and just get to know everyone.

Google I/O is finished and I’m already looking forward to next year’s event! See ya next year Google I/O, see ya later San Francisco and I hope to see all of you, GWT and GAE fans, very soon someway or another! Meanwhile, the net and its various forums will have to do…