Results 1 to 8 of 8

Google Analytics on Photopost?

This is a discussion on Google Analytics on Photopost? within the vBSEO Features Archive forums, part of the vBulletin Links & Resources category; Is there anyway we can use the google analytics add on that VBSEO offers and have VBSEO put the analytics ...

  1. #1
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,484
    Liked
    1 times

    Google Analytics on Photopost?

    Is there anyway we can use the google analytics add on that VBSEO offers and have VBSEO put the analytics code within Photopost as well? Right now my photopost is not being tracked and I have to manually add the code in.

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    You can just add the code to the photopost header template can't you?

  3. #3
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,484
    Liked
    1 times
    Header or headerinc?

    Where exactly?

  4. #4
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    Not sure... Does photopost have a global header template? I thought it did. It should be the one that contains the <HEAD></HEAD> section.

  5. #5
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,484
    Liked
    1 times
    headerinc has that but when I add it right before </head> it doesnt show up when I view source

  6. #6
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    Strange.

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Hi,

    if you will add google analytics code to the "headerinclude" template, that will result in duplicate code inclusion on forums pages if you have analytics option enabled in vbseocp.

    Instead, you can modify your photopost header-inc.php file:
    FIND:
    $headinclude = process_replacement_vars($headinclude);
    ADD BELOW:
    $headinclude .= '
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-00000-0";
    urchinTracker();
    </script>
    ';
    enter you own account code, of course

  8. #8
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,484
    Liked
    1 times
    Thanks alot

Similar Threads

  1. Got My Google Analytics code today
    By shanemcse in forum Analysis: Traffic & SERPS
    Replies: 10
    Last Post: 11-14-2006, 11:07 PM
  2. vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature!
    By Juan Muriente in forum vBSEO Announcements
    Replies: 74
    Last Post: 05-20-2006, 09:29 PM
  3. Google Analytics question regarding 2.4.0.
    By mc3000 in forum General Discussion
    Replies: 8
    Last Post: 04-06-2006, 10:17 PM
  4. Google Analytics - New Free Tool!
    By skizzy203 in forum Analysis: Traffic & SERPS
    Replies: 29
    Last Post: 11-22-2005, 06:06 AM
  5. Finding my Google Analytics Code
    By Michael in forum Troubleshooting
    Replies: 1
    Last Post: 11-21-2005, 03:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •