@wade1 ,
I almost wrote what @Chris_Hofer did, but I was hoping I was wrong about it and someone had a solution. Within Canvas itself, that's probably the best / only way I know of.
The one thing I thought of -- although it abhors me to even think about it -- is to use some kind of redirection or tracking tool.
For a redirection tool, all of your links go to another site which registers that they came in, and then sends them on to another location. The problem with that is that the links wouldn't be unique to let the tracking site know which user was visiting the page.
Another way to do the tracking is by adding JavaScript to the links to do the tracking.
Google does this by adding an onmousedown() function to each link they return. It sends some codes that they use to track which links are clicked on. Most people probably don't realize it, but when you click a link on Google, you don't just go directly to the link, but you send information about that to Google before you do.
So, if you were a Canvas Admin and wanted to add this to a sub-account, you could write code that would look for any anchor tag with an external href on a page and the modify it by adding an onmousedown= function that would call another function that would do a post to a server that would collect statistics about who visited the site.
You can get the link from the JavaScript this object and the document contains the Canvas User ID and the name of the current user in the ENV variable.
You would want to make sure that whatever system you were using for tracking the information had good availability, but if the code was written right, then failure of that host wouldn't break the link. Basically, you make the AJAX post to the website and then immediately return back to the page so the browser will follow the link.
It's the fact that someone is tracking me that causes me to shudder and I would go to lengths to disable that feature if I saw it was happening and I would probably write a rule for my adblocker add-on if it didn't already pick it up. On the other hand, as a teacher, I could see where it would be useful, but from what I've seen through the Access Report Data and the number of links that are module items, the number of students following through is so small that it would probably just frustrate me more to know how bad it is.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.