[Basic] How to use CPAGrip with "on click" option?

Discussion in 'Affiliate Programs' started by whensbrunch, Sep 6, 2017.

  1. whensbrunch

    whensbrunch Newbie

    Joined:
    Sep 5, 2017
    Messages:
    20
    Likes Received:
    4
    Gender:
    Male
    Heyyy sooo...

    I've got a site up and running with Wordpress using Namecheap's EasyWP and now would like to use a content locker from CPAGrip.

    Using the "on load" option it's no problem: I have a "Per page add to head" plugin and I insert the code for the locker in there. However, using the "on click" option...

    upload_2017-9-5_22-5-51.png

    ... I'm not sure where to place the code onclick="call_locker();"

    Could anyone help me out with this? I'm using a Landing Pages plugin and tried inserting it in the button opening tag.
     
  2. GoDesain

    GoDesain Regular Member

    Joined:
    Feb 26, 2011
    Messages:
    482
    Likes Received:
    209
    i'm not javascript expert, but if you want click call js,
    try : <a href="#" onclick="call_locker();">
     
    • Thanks Thanks x 1