Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

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

share|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. –  PirateEric Mar 20 '13 at 19:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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