iDEV Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

IDEVSPOT COMMUNITY FORUMS. -----( ( ( NOT FOR OFFICIAL TECH SUPPORT ) ) )-----

Author Topic: wer do i put tracking code in wordpress ?  (Read 834 times)

0 Members and 1 Guest are viewing this topic.

titomc

  • Newbie
  • *
  • Posts: 2
    • View Profile
wer do i put tracking code in wordpress ?
« on: March 13, 2010, 07:30:45 AM »
I did all the setup and its good looking.. Now I only have to put the tracking code in my wordpress blog.. but where shud I put.. I tried putting in last line of footer.php , but it showed the following error while I loaded the blog on browser. It wud be very helpful if someone can help me to put the code at the right place in wordpress.

© Copyright 2010 AutoTweeter – schedule tweets , automate tweets to twitter with this twitter automation software. All rights reserved.
Blix theme. Powered by WordPress 2.8.4. Log out

Warning: Cannot modify header information - headers already sent by (output started at /home/titomc/public_html/autotweeter.in/wp-content/themes/fixed-blix/BX_functions.php:14) in /home/titomc/public_html/autotweeter.in/ataff/tracker/tracker.php on line 22
Logged

internet54

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • WWW
Re: wer do i put tracking code in wordpress ?
« Reply #1 on: March 13, 2010, 01:01:09 PM »
Do some research for "output buffering".

If your headers are already sent, then you will need to utilize ob_start() to process ALL the php BEFORE displaying the page.  This would prevent that error.