I just created a simple google analytics class for marmalade.
The class uses IwHTTP to post the google analytics url and s3eFile to save and sent later if no connection can be estabilished, so it should be cross-platform.
ps. Don't forget that google analytics website takes a day to refresh.
Hope you enjoy.