I have a ToC with all the links in the format as “#id-link”. I can generate the href as anything i want easily. However i dont think adding ?utm_source=... will send google analytics the click events (does it!? i was looking at How do I tag my links? at the time)
How do i send clicks to google analytics?
At any point you can send page views to Google using the TrackPageView command:
So in your ToC, for example: