incorporates mixpanel analytics into permalinked pages