Just follow the steps:
1.Just goto your google analytics account & Add a website profile in the name of hubpages.com.
2.Look for the code something like this UA-6766363-2, copy this code / text.
3. Now to goto your affiliate settings in your hubpages:
(to go here click my account----> affiliate settings)
4. Just paste the code on the analytics text box & click appy changes.
5. Now goto ur google analytics & cick finish.
All u need to do now is to wait for a day or two, so the results starts showing up..