• Resolved theoneex

    (@theoneex)


    Hello,

    I would need some precious help for my issue.

    Here is my problem:
    – I have setup an affiliate link which opens in a new window (target blank) and all is working fine
    <a class="thirstylink" title="bondora" href="//crowdfunding-platforms.com/go/bondora" target="_blank" rel="nofollow noopener noreferrer">Linktext</a>

    – But when I add to this link an id attribute id=”CTA-top-bondora” to trigger a google analytics event, then I have a problem: the affiliate link still opens in a new window but it opens also in the same page when the link was clicked (which should’t happen)
    <a id="CTA-top-bondora" class="thirstylink" title="bondora" href="//crowdfunding-platforms.com/go/bondora" target="_blank" rel="nofollow noopener noreferrer">Linktext</a>

    I didn’t have this problem before but it just came out since I have moved my website to https.

    Thank you in advance for your help

    • This topic was modified 7 years, 1 month ago by theoneex.
    • This topic was modified 7 years, 1 month ago by theoneex.
    • This topic was modified 7 years, 1 month ago by theoneex.
    • This topic was modified 7 years, 1 month ago by theoneex.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @theoneex,

    Thanks for getting in touch with us.

    Please check on your ThirstyAffiliates > Settings > Link Appearance if the Enable Enhanced Javascript Redirect on Frontend is checked. If yes, please try to disable the setting and check if the issue still persists.

    Also when testing, I suggest doing basic debugging, such as disabling your other plugins and switching your theme to Twenty Seventeen/Nineteen to make sure that there is no plugin/theme conflict.

    I hope this helps and please let me know how it goes!

    Thread Starter theoneex

    (@theoneex)

    Hi Ray,

    Thanks a lot for your answer.
    I’ll try your advice and will let you know.
    Unfortunately, before that, I have another error on my website. So I’ll have to fix it first before being able to try what you said.

    Have a nice day

    Thread Starter theoneex

    (@theoneex)

    Hi Ray,

    Great it worked!
    Thanks a lot for your help.

    Have a nice day,
    Matteo

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Affilaite link opens twice’ is closed to new replies.