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

XF 1.3 Manually adding Google Analytics to the footer

Discussion in 'XenForo Questions and Support' started by imthebest, Jul 7, 2014.

  1. imthebest

    imthebest Formerly Super120

    Hi guys I'm a vBulletin old school guy. I know that XF easily allows you to put your Analytics ID to automatically start gathering data however I want to use Universal Analytics with Demographics & Interests Data (in black).

      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      ga('create', 'UA-XXXXXXX-X', 'auto');
      ga('require', 'displayfeatures');
      ga('send', 'pageview');
    So I tried inserting that code snippet to the end of my footer template (like I do on vBulletin) however Google says that the tracking code isn't installed. I don't know what I'm doing wrong... please help.
  2. dawg

    dawg Well-Known Member


    Missed the first sentence.
  3. imthebest

    imthebest Formerly Super120

  4. Mike

    Mike XenForo Developer Staff Member

    If you see the code in the source of the page, it's really down to what Google may or may not be reporting. If you don't see it in the page, I suspect there was a mistake with where you added it.

Share This Page