I am interested in the demographics of who is visiting my family tree on Rootsweb WorldConnect. What country, city are visitors from? What pages are looked at most often?
After a few unsuccessful attempts, I have now managed to set up tracking so I can answer these questions, and others. I use Google Analytics.
- In Google Analytics you need to define the default URL – I used wc.rootsweb.ancestry.com. This refers to the whole WorldConnect site, but only your family tree pages will send tracking codes. You copy the tracking code from Google Analytics for insertion in web pages displaying your family tree.
- You then need to log into Rootsweb, open your account page, and under Worldconnect Tree ID select Edit. Click on the tree you want to track (in my case chris_korte), then click on Display Options under Tree Settings. I pasted the tracking code from Google Analytics into the Page Footer. Due to restrictions on string length for the page footer, I needed to remove the existing footer. Before pasting, I also edited the tracking code in notepad to remove formatting spaces and carriage returns – I made one line of text.
So far this has tracked visitors for a few hours successfully. When it has run for longer I will update on what has worked and what has not.
I have been able to see number of visitors, pageviews, visit duration, audience details, traffic sources and content. These are the normal statistics that Analytics reports. In-Page Analytics can not be reported, but this is not a concern to me.
I presume the tracking code can be inserted in other parts of the WorldConnect page, but I have not tried.
Google Analytics reports that “The Google Analytics tracking code has not been detected on your website’s home page.” This is because Rootsweb WorldConnect does not allow users to alter the home page.
Google Analytics says “For Analytics to function, you or your web administrator must add the code to each page of your website.” Because the footer is displayed whenever my tree is displayed, the tracking code will report all instances of my tree being viewed.