Update trackExternalLink method to respect target attribute values

Resolves #101.