Comments David Ferrer started the conversationDecember 13, 2017 at 10:23amI need to implement this javascript code (Optingun) to insert a pop up:<script>function optingun_load(d, s, id,source) { var js, father = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = source; father .parentNode.insertBefore(js, father );}optingun_load(document, 'script', 'jquery-lib','https://optingun.com/sdkv3.js');<div optin_id="1319" og-api-key="461e8d0163dd38e28202e055b89dd68b" ></div>I have put it in the Custom JS area, in theme options but it doesnt work. Is it right? 568Stormit repliedDecember 13, 2017 at 5:18pmHi David,Do you have the guide about adding your code? I see your code has the javascript code and html. So you can not add all to the Custom Javascript Code field.Best regards,David Ferrer repliedDecember 18, 2017 at 10:20amHi,What Guide do you mean?. Don´t worry, I´m going to implement it in other way?Thanks,David 568Stormit repliedDecember 18, 2017 at 1:57pmOK David!Have a nice day! Sign in to reply ...
I need to implement this javascript code (Optingun) to insert a pop up:
<script>
function optingun_load(d, s, id,source) { var js, father = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = source; father .parentNode.insertBefore(js, father );}
optingun_load(document, 'script', 'jquery-lib','https://optingun.com/sdkv3.js');
<div optin_id="1319" og-api-key="461e8d0163dd38e28202e055b89dd68b" ></div>
I have put it in the Custom JS area, in theme options but it doesnt work. Is it right?
Hi David,
Do you have the guide about adding your code? I see your code has the javascript code and html. So you can not add all to the Custom Javascript Code field.
Best regards,
Hi,
What Guide do you mean?. Don´t worry, I´m going to implement it in other way?
Thanks,
David
OK David!
Have a nice day!