added snippet for analytics

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>