escape smarty parsing for analytics