fixes for analytics by tag