CPAlead widget integration in wordpress

Discussion in 'Affiliate Programs' started by aWas, Feb 22, 2010.

  1. #1
    Hi newbie here...

    CPAlead states that the widget code must be integrated between <head> and </head> although wordpress posts don't have that, so is pasting the code anywhere in the body alright? I receive these notifications when I test the pages that have the widget-Widget found on page, Widget exists in our system,
    Script was not placed correctly (Not found between <head> tag)

    Thank you
     
    aWas, Feb 22, 2010 IP
  2. jehnidiah

    jehnidiah Active Member

    Messages:
    451
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    There is a cpalead widget plugin that makes your job much easier, by the way. Just google it.

    But if you don't want to use the plugin: go to your admin page in wordpress, go to themes-->edit themes-->choose your theme. Then click on header.php, and in there you'll see the <head> tags you can throw the code between.
     
    jehnidiah, Feb 23, 2010 IP
  3. Jackie_W

    Jackie_W Well-Known Member

    Messages:
    1,964
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    115
    #3
    placing widget on index.php is a very bad idea as it means your entire site will be blocked and visitors have no idea what you offer. it is better to paste the widget code on single.php on the 2nd line
     
    Jackie_W, Feb 23, 2010 IP
  4. AffiliateCoach

    AffiliateCoach Peon

    Messages:
    190
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I agree with Jackie :)
     
    AffiliateCoach, Feb 23, 2010 IP
  5. mjwoodi

    mjwoodi Peon

    Messages:
    436
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I suggest you test what works for your visitors. On one of my cpalead sites, I used to have the gateway only display on the episode pages themselves but recently swapped this over to the homepage only and not the episode pages which increased my earnings and as yet, has had no negative effect on traffic/engagement
     
    mjwoodi, Feb 23, 2010 IP
  6. aWas

    aWas Active Member

    Messages:
    356
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #6
    Thanks for the responses. As what Jackie said, I have the codes pasted in the posts which means when the user click read more, the widget appears. The visitors can browse the main page without restrictions. Should I keep it as it is in each post? I didn't go with the plugin because it didnt seem to work for me, kind of confusing set up, should I try and integrate the plugin? Also i am wondering if there's an easier way to have the widget added, as of now im pasting the code in each post individually. Thanks again
     
    aWas, Feb 23, 2010 IP
  7. Mullord

    Mullord Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    The wordpress cpalead plugin is what you're searching for. ;)
     
    Mullord, Mar 7, 2010 IP