1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

When is the best time to fetch Http Referer?

Discussion in 'XenForo Development Discussions' started by Marcus, Jan 18, 2014.

  1. Marcus

    Marcus Well-Known Member

    I want to log the referer webpages my users were on before they go to my community. There are multiple ways when a user would enter my community with a new referer:

    1. first time he visits my page
    2. user visits my page, goes to another page and comes back again

    I would like to save referers for both guests and members. Where in xenforos system is it best to hook in?

    There are xenforo_sessions, but I am not sure when this is used, at every page view, or only when the user logs in?

Share This Page