问题
We would like to use the Attribute fb_ref
- the ref parameter in a like button (in order to track referral clicks and conversions).
Do you have a tutorial or example of how this works on our pages?
回答1:
When you use the ref
parameter on a like button, clicks back to your website which were generated by that Like button, contain two extra parameters in the referrer: fb_ref
, containing the same value you gave to ref
, and fb_source
which shows where on Facebook the story was clicked.
This is explained here in the documentation for the like button: https://developers.facebook.com/docs/reference/plugins/like/ - search for 'ref'
来源:https://stackoverflow.com/questions/7927759/tracking-like-button-referrals-from-facebook-using-the-fb-ref-parameter-in-our