I'm using SharePoint 2007 to run a website. I'd like to track downloads, outbound links, videos, etc. So far, i've read that event tracking can do this for me, but not sure where to place it since it comes with some javascript to plugin in the head of the page. I tried this and it threw back an error with the layout. Now I'm wondering if i should be dropping the javascript code in the master or layout page for sharepoint. Has someone encountered this issue? Thanks in advance! Nat


You'd want to put the code into the head of the master page.

| improve this answer | |
  • Thanks for your reply. Is there any othe place i can place it? What if i only want to track outbound links for only one page in the whole site? – user15729 Mar 20 '13 at 19:32
  • Then you could save the js code as a js file in a document library and add it to a page via the content link in a content editor web part. – Eric Alexander Mar 20 '13 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.