OGAds Captcha Locker On Click?

Dresden

Elite Member
Joined
Mar 10, 2014
Messages
2,563
Reaction score
1,467
Hi, I can't call my captcha locker on OGAds. I have the code in the body.

Here is my button:

<a class="button" onClick="call_locker()">button 4</a>

Am I missing something? Am I typing it in wrong?
 
It is in head. I put the javascript code in the head then I made a button <button onclick="call_locker()">Click me</button>
but the captcha locker is not being called. Nothing happens.
 
Last edited:
Anyone? Losing a lot of traffic right now before of this :(
 
Paste the rest of the code, or at least important parts with ogads code
 
Contact your affiliate manager, they can tell you what's wrong.

Code looks too short to me.
 
How do you get traffic? Website or youtube?
Website

Paste the rest of the code, or at least important parts with ogads code

Screenshot 2022-07-16 153603.png

This is what I got from them. I put that code into the body and then into the header. When I used that HTML on my page it works fine, the captcha shows up and everything. But I need it to work on click. So when button is clicked, the captcha should then appear.

This is the code I used: <button onclick="call_locker()">Click me</button> but it does nothing. I've tried reaching out to AM but he said he's not into this type of stuff so he can't help me too much.

I've looked into the content locker options on ogads and there is nothing there.
Contact your affiliate manager, they can tell you what's wrong.

I did. They sent it out to the dev team and I'm not sure how long it'll take. Losing lots of traffic right now.
 
Have you chosen your load method to onClick?

If it is "immediate" or "timer" - it won't show.
 
Have you chosen your load method to onClick?

If it is "immediate" or "timer" - it won't show.
I don't see that option. I've looked through all tabs, basic, advanced, device specific.


Screenshot 2022-07-16 153603.png
 
Wow - I haven't logged into OGAds in forever. Had to practically find the logins.

Anyway, looks like their document is old. Here's what you do.

1. Create a new locker and in "Load Method" - select "Javascript Appear when the javascript function “og_load();” is called"

2. In your page, use the og_load() function instead of call_locker() like below

HTML:
<a class="button" onClick="og_load()">My Button</a>
 
Wow - I haven't logged into OGAds in forever. Had to practically find the logins.

Anyway, looks like their document is old. Here's what you do.

1. Create a new locker and in "Load Method" - select "Javascript Appear when the javascript function “og_load();” is called"

2. In your page, use the og_load() function instead of call_locker() like below

HTML:
<a class="button" onClick="og_load()">My Button</a>

Thanks, but I am not creating the regular content locker but the captcha locker. I don't see the load option in their captcha locker.

I've also tried that code for my button and it also doesn't work.

Unfortunately, the regular content lockers don't work well with my traffic.
 
Last edited:
afaik if you are using the captcha locker you shouldn't use the onclick event. The captcha box will always be visible and when the user checks it the locker will appear.
Just put the div where you want your captcha to be.
When the user completes the offer, ogads' script (the one line you pasted in the <head> section) will call the og_done() function which you should create in YOUR script.
 
Back
Top