For the share this page bit, i.e.:
it now adds the referral bit to whatever page the widget is on, for example the twitter share button used to do this
but now:
To do this, I added the following to share_page_macros
<xf:if is="$xf.visitor.user_id">
<xf:set var="$refurl"...