The official answer from Google does not support target="_blank" links and requires you to manually add code to each anchor link.
This solution handles all links on page and checks hostname and target automatically before adding onclick events.