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

WP + Google Analytics

Discussion in 'BlackHat Lounge' started by SpellZ, Jun 28, 2009.

  1. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    314
    Location:
    Toronto, ON
    .. I have a WordPress theme.. where do I plug in the code?:confused:
     
  2. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    314
    Location:
    Toronto, ON
    Shoot huh? nobody used Google Anylytics with wordpress?
     
  3. suntzzz

    suntzzz Newbie

    Joined:
    Apr 28, 2009
    Messages:
    5
    Likes Received:
    0
    you need to edit the php file. By default it is footer.php inside your theme folder.
     
  4. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    314
    Location:
    Toronto, ON
    .. footer? A... Are you sure?
     
  5. writt

    writt Junior Member

    Joined:
    Nov 13, 2008
    Messages:
    144
    Likes Received:
    40
    Location:
    My Kid's Teacher's House
    There is a Google Analytics plugin available that might help. I have not used it but apparently it saves you the hassle from modifying the header or footer files in your theme.

    Code:
    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/
     
  6. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    314
    Location:
    Toronto, ON
    Yeah, I found it as well but it says

    1. Delete any existing gapp folder from the /wp-content/plugins/ directory
    2. Upload gapp folder to the /wp-content/plugins/ directory
    3. Activate the plugin through the 'Plugins' menu in WordPress
    4. Go to the options panel under the 'Plugins' menu and add your Analytics account number and set the settings you want.


    Wtf is "GAPP FOLDER" =/
     
  7. bossman

    bossman Newbie

    Joined:
    Feb 8, 2009
    Messages:
    30
    Likes Received:
    1
    just a guess but i think they are telling you to delete any previous versions of their product..just upload it and see if it works