apply new function to analytics comment