# External links in history don’t follow “Open all external links in a new tab” setting

**URL:** <https://meta.discourse.org/t/external-links-in-history-don-t-follow-open-all-external-links-in-a-new-tab-setting/42995>\
**Category:** Bug\
**Created:** [2016年四月22日 16:48 UTC](https://meta.discourse.org/t/external-links-in-history-don-t-follow-open-all-external-links-in-a-new-tab-setting/42995 "2016-04-22T16:48:15Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2016年四月24日 16:07 UTC](https://meta.discourse.org/t/external-links-in-history-don-t-follow-open-all-external-links-in-a-new-tab-setting/42995/13 "2016-04-24T16:07:24Z")

</div>

> [@fantasticfears](#):
>
> Separate opening/tracking from ClickTrack and inject opening lib everywhere (History, Profile)

That is sort of where my initial thoughts with the first outline were going. As if I send an optional parameter I can skip the actual link tracking logic for all uses except those coming from a topic.

Then I don’t have to worry about the parameters needed. But if Discourse wants those tracked I don’t think it will be hard to get that data either from the profile/history pages.

The main point was my current PR duplicates efforts, of which I’m not a big fan of but it shows it can be done.

---

_[View the full topic](https://meta.discourse.org/t/external-links-in-history-don-t-follow-open-all-external-links-in-a-new-tab-setting/42995)._
