Fix the markup of the tracker-snippet

And… DON'T TRY TO RENDER THE TEMPLATE WHEN SENDING AN ERROR!