Adding analytics, fixing permanent url