I know that CQ5 have tools to help divide visitors into different segments based on particular segment traits.
By default there are about a dozen built in segment traits like "IP Range", "Visitor Age", "Facebook Profile", "Referral Keywords" etc.
But how do we create other traits that's not avaliable out of the box? For example, if we wanted to filter visitors based on "Google Profile", or "Returning Visitor", or "Browser type"?
EDIT: To clarify, I want to build custom segmentation components that appears into the side kick for the authors to simply drag and drop.
How do we go about creating these custom traits/filters?