Do you want to track only pageviews that are in domain.com/example/? Then just add your tracking code in these pages…
I think my first assumption was wrong… You want to know which links in your whole site redirect to domain.com/example/. If so, I suggest you use tracking via MTM (it will be easier to implement). Then add pages views on all pages, and link tracking.
In the dashboard, create a custom dimension on URLs starting with domain.com/example/ that will filter visits that contain these pages. With this segment, use the page transition to know page predecessors of domain.com/example/ pages. Other informations will be available in the events reports.