adds analytics support