WordPress.org

Support

Support » How-To and Troubleshooting » Where to put ad network code in WordPress? It’s slowing my page load

Where to put ad network code in WordPress? It’s slowing my page load

  • Hello,

    I was wondering if anyone could help me with this…

    I have had Valueclick ad code pasted right into my header file in WordPress to have my ads showing at the top of page. For awhile, it’s been fine…

    Now all of the sudden fastclick code appears to be holding up my page load and sometimes it wont load at all. Once I take the code out, it loads fine.

    Is this a bad way of doing it? Does anyone have ideas where I can have my Valueclick code in there so it doesn’t affect page loading?

    Thanks in advance!

    Kenneth

Viewing 4 replies - 1 through 4 (of 4 total)
  • Without more details, we cannot help you. What is this code? What does it look like? What’s your page URL?

    Details matter.

    Otto,

    Sorry about that. Here is the actual code, which appears just after the head section in the header template:

    <!-- ValueClick Media 468x60 and 728x90 Banner CODE for autoracingsport.com -->
    <script language="javascript" src="http://media.fastclick.net/w/get.media?sid=15836&m=1&tp=5&d=j&t=n"></script>
    <noscript><a href="http://media.fastclick.net/w/click.here?sid=15836&m=1&c=1">
    <img src="http://media.fastclick.net/w/get.media?sid=15836&m=1&tp=5&d=s&c=1"
    width=728 height=90 border=1></a></noscript>

    <!-- ValueClick Media 468x60 and 728x90 Banner CODE for autoracingsport.com -->

    http://autoracingsport.com is the URL so you can see it in action.

    Thanks!

    Well, your site is completely and totally broken for me, so I can’t tell you what the issue is. Might disable WP-Cache for a while, so that you can see the effects of your changes in real time.

    Hi Otto,

    That’s strange. My site seems to be fine in the browers Ive checked (FF and IE). Could you tell me what browser and version you are using and screen size, etc…?

    Ill see what the issue is.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where to put ad network code in WordPress? It’s slowing my page load’ is closed to new replies.
Skip to toolbar