Right now the GTM code seems not to appear on error pages when autoAppend=true. Would be good if it would.