How can I track the internal and external exit links. what I mean by internal and external is, if the user are getting exited in the other internal website or other external website.
I DTM implemented please tell me the best approche for this.
If your s.linkInternalFilters is set to your website, then any website that did not match that would fire an exit link. There is more information on automatic link tracking here: https://marketing.adobe.com/resources/help/en_US/sc/implement/link_automatic.html. If you need to manually track an exit link because it is not tracked via the automatic method, there is more information here: https://marketing.adobe.com/resources/help/en_US/sc/implement/link_manual.html.