Editing footer (adding script to it)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zeman
    Member
    • Oct 2013
    • 31
    • 5.0.X

    Editing footer (adding script to it)

    I went to style manager and edited the footer by adding a script (tracking id from google analytics). But when I tried to save, it said to "Confirm removal of vBulletin copyright." Can I just click on YES in order to save it, or am I doing something wrong? Running on vbulletin 5.05. Thanks.
  • glennrocksvb
    Former vBulletin Developer
    • Mar 2011
    • 4021
    • 5.7.X

    #2
    Upgrade to 5.1 and you can easily add Google Analytics via AdminCP > Settings > Options > Google Analytics.

    For 5.0.5, I think your option is to add a template hook that triggers a template containing the Google Analytics code and add the hook to 'footer_end'.

    For an intro to vB5 Template Hook system, see Wayne's blog.
    Last edited by glennrocksvb; Tue 29 Apr '14, 4:38pm.

    Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

    Comment

    • zeman
      Member
      • Oct 2013
      • 31
      • 5.0.X

      #3
      Great! Thanks.

      Comment

      Related Topics

      Collapse

      Working...