Add tracking (custom) JS to the error pages
Merge branch 'hotfix-track-errors'