* Expand pages.* to prevent duplicate columns in MSSQL
Replace pages.* in select query with explicit list of columns to avoid multiple identically named columns being returned by MSSQL
* Use global replace for analytics header templates
Replace multiple instances of the same template variable in analytics templates
* Revert "Use global replace for analytics header templates"
This reverts commit 290b53b6e33c45d358252a14c838d12916895601.