Hi Andrea,
normally if the link comes from contents or menus this is done using the exclusions parameters inside data source settings.
A video about exclusions for contents and menu is available here:
https://www.youtube.com/watch?v=Qo5b2g9IRSU
If the links comes from a third party data source usually a filter can be configured using the ID of the record, eventually contact me by email if you need help at
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
.
thanks