analytics by tag - fix tags with spaces