Perhaps a widget could encapsulate the Google Analytics SDK. Alternately just using their regular API calls might work too. LiveCode Connect is all about API interfacing. Jim Lambert