Add analytics support.