Auto analytics

Not too sure if this works but it should

#84