Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jan 2017
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I hope someone can help me with a JavaScript/HTML issue

    I need someone's help, and Iím hoping you can provide it as soon as possible. Iíve been back and forth between Clickbank (an online retailer) and GoDaddy (my website provider) several times for a full week straight, if not longer. Neither has been able to resolve this issue for me. Maybe you can?

    Hereís the issue:

    I have three products that I want to sell through Clickbank. Iíve already spent a lot of time creating webpages for them. In order for Clickbank to approve my products on their site, their Clickbank trust badge must appear on all of these webpages.

    Unfortunately, Clickbank only provides JavaScript and these basic help instructions for me to get things set up the way they want them: https://support.clickbank.com/hc/en-...ommon%20Issues.

    Also unfortunately, GoDaddy has said their site doesn't use JavaScript and may not display it for me, and theyíve also told me they donít offer custom coding support.

    Iíve gone back and forth with both companies for a week or more, trying to figure out work-arounds that will resolve this issue. Neither company is budging on their stance. Both are saying thereís nothing they can do to help me and are then re-directing me back to the other company for resolution of the issue.

    The only advice Clickbank support has given me (other than the above) is that I should give my JavaScript to a programmer and ask that programmer to convert it to HTML for me. So, here I am on this site hoping one of you can either do this conversion for me or direct me to some very beginner, very user-friendly instructions on how to do it for myself.

    Here's the script as I have it inside the Site-Wide Code portion of my GoDaddy website right now:

    <script>
    (function() {
    var define = window.define;
    window.define = function(package) {
    if (package.HandlebarsEnvironment) {
    window.Handlebars = package;
    }
    define.apply(this, arguments);
    }; })();
    </script>
    <!-- ClickBank Trust Badge -->
    <script src='//cbtb.clickbank.net/?vendor=ppgpublish'></script>

    I've noticed the <!-- ClickBank Trust Badge --> portion seems to disappear when I save it. I don't know why.

  2. #2
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Location
    Here
    Posts
    3,572
    Thanks
    58
    Thanked 648 Times in 643 Posts
    I would think that line needs to be
    PHP Code:
    <script src='https://cbtb.clickbank.net/?vendor=ppgpublish'></script> 

  3. #3
    New to the CF scene
    Join Date
    Jan 2017
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So, inside the <HEAD> part of the Site-Wide Code section, I should put:

    <script>
    (function() {
    var define = window.define;
    window.define = function(package) {
    if (package.HandlebarsEnvironment) {
    window.Handlebars = package;
    }
    define.apply(this, arguments);
    }; })();
    </script>
    <!-- ClickBank Trust Badge -->
    <script src='https://cbtb.clickbank.net/?vendor=ppgpublish'></script>

    Is that what you're saying?

  4. #4
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Location
    Here
    Posts
    3,572
    Thanks
    58
    Thanked 648 Times in 643 Posts
    Correct. Did you try it?

  5. #5
    New to the CF scene
    Join Date
    Jan 2017
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes, I tried it. No change to my website. The trust badge still doesn't show.

  6. #6
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Location
    Here
    Posts
    3,572
    Thanks
    58
    Thanked 648 Times in 643 Posts
    can we see a link to your site, or a nonworking page replicating the issue?

  7. #7
    New to the CF scene
    Join Date
    Jan 2017
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here are three of the pages that I've been trying to get this Trust Badge to appear on:

    Successful Selling Tips for Introverted Authors PITCH PAGE
    How to Publish a Bestselling Book PITCH PAGE
    How to Publish a Book in Canada PITCH PAGE

    But, actually, never mind now. I've been back and forth with ClickBank on this issue for several days. Their support team has been unable (unwilling?) to provide any type of custom coding support or other types of work-arounds to help me out, and today they closed my help ticket and disapproved my products because they said it was taking too long to resolve. Huh? ??? Lol. Honestly, I've never worked so hard to try to give a company my business before.

    Needless to say, when they closed the ticket, it forced me to go in search of a different digital supplier. And I found one. And my products are up and running already. So, it has all been resolved in the end.

    Thank you for trying to help. I appreciate it.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •