Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

script to header

Asked Modified Viewed 1,613 times
C
Catzenjaeger
C
  • Senior Member, joined since
  • Contributed 408 posts on the community forums.
  • Started 137 threads in the forums
  • Started this discussions
asked
Senior Member

Hello,
i try to add this lines to header beetween head tags on different sites
this code is a automatic affilate code for my ebay
but it dosent works
i have try
themes/templates -> header.php
maincore.php
and in my infusion at last


add_to_head("
<script>window._epn = {campaign:5338079397};</script>
<script type='text/javascript' src='https://epnt.ebay.com/static/epn-smart-tools.js'></script>");

this is the origial lines

Copy the code below and paste it between the <head> </ head> tags on your web pages.
Validate your setup by loading your website and hovering over any eBay link. These should now be linked to "rover.ebay.com / ...".
<script>window._epn = {campaign:5338079397};</script>
<script src="https://epnt.ebay.com/static/epn-smart-tools.js"></script>

can anyone help me? thank you
Edited by N/A on 21-09-2018 15:16,
0 replies

2 posts

W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

Did you check your html source to see if the code is there and the scipts are loaded.
The add to head solution seems fine to me, but you could try this (using double quotes and escaping them):
add_to_head("
<script>window._epn = {campaign:5338079397};</script>
<script type=\"text/javascript\" src=\"https://epnt.ebay.com/static/epn-smart-tools.js\"></script>");
0 replies
— 1 month later —
S
shadyjohnson
S
  • Newbie, joined since
  • Contributed 1 post on the community forums.
answered
Newbie

add_to_head("<script> CONTENT </script>");
Did YOu Check
Edited by N/A on 21-09-2018 15:15,
0 replies

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

C
C
  • Senior Member, joined since
  • Contributed 408 posts on the community forums.
  • Started 137 threads in the forums
  • Started this discussions
W
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
S
S
  • Newbie, joined since
  • Contributed 1 post on the community forums.

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet