# External Links not opening in new tab

**URL:** <https://meta.discourse.org/t/external-links-not-opening-in-new-tab/50092>\
**Category:** Product Support\
**Created:** [13 Septiembre, 2016 16:53 UTC](https://meta.discourse.org/t/external-links-not-opening-in-new-tab/50092 "2016-09-13T16:53:19Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [11 Abril, 2019 02:01 UTC](https://meta.discourse.org/t/external-links-not-opening-in-new-tab/50092/26 "2019-04-11T02:01:59Z")

</div>

If you want both users _and_ guests to always open links in a new tab, you have to completely override `trackClick` in `discourse/lib/click-track` in an intializer (in a plugin). Specifically this: [https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/lib/click-track.js.es6#L137](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/lib/click-track.js.es6#L137). I wouldn’t advise it.

---

_[View the full topic](https://meta.discourse.org/t/external-links-not-opening-in-new-tab/50092)._
