analytics by tag html fixes