WordPress.org

Ready to get started?Download WordPress

Forums

Where to put ad network code in WordPress? It's slowing my page load (5 posts)

  1. racerman28
    Member
    Posted 6 years ago #

    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

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Without more details, we cannot help you. What is this code? What does it look like? What's your page URL?

    Details matter.

  3. racerman28
    Member
    Posted 6 years ago #

    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!

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    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.

  5. racerman28
    Member
    Posted 6 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic