added analytics tracker code

added Brian's code