• Resolved contemplate

    (@contemplate)


    When we add our universal embed code from Deadline funnel it causes a 404 error while saving the snippet. All other snippets work. I have to resort to saving the snippet settings without the code and then entering the snippet directly into the database record which is not ideal.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author 99robots

    (@99robots)

    Hi @contemplate,

    Yes, you are right about adding snippets directly to the database record is not ideal.

    Can you please share the snippet that you are trying to save?
    We will look into it and will give you the proper solution accordingly.

    Thanks.

    Thread Starter contemplate

    (@contemplate)

    Here is the snippet we are having issues with:

    
    <!-- Deadline Funnel --><script type="text/javascript" data-cfasync="false">function SendUrlToDeadlineFunnel(e){var r,t,c,a,h,n,o,A,i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d=0,l=0,s="",u=[];if(!e)return e;do r=e.charCodeAt(d++),t=e.charCodeAt(d++),c=e.charCodeAt(d++),A=r<<16|t<<8|c,a=A>>18&63,h=A>>12&63,n=A>>6&63,o=63&A,u[l++]=i.charAt(a)+i.charAt(h)+i.charAt(n)+i.charAt(o);while(d<e.length);s=u.join("");var C=e.length%3;var decoded = (C?s.slice(0,C-3):s)+"===".slice(C||3);decoded = decoded.replace("+", "-");decoded = decoded.replace("/", "_");return decoded;} var url = SendUrlToDeadlineFunnel(location.href); var parentUrlValue;try {parentUrlValue = window.parent.location.href;} catch(err) {if(err.name === "SecurityError") {parentUrlValue = document.referrer;}}var parentUrl = (parent !== window) ? ("/" + SendUrlToDeadlineFunnel(parentUrlValue)) : "";(function() {var s = document.createElement("script");s.type = "text/javascript";s.async = true;s.setAttribute("data-scriptid", "dfunifiedcode");s.src ="https://a.deadlinefunnel.com/unified/reactunified.bundle.js?userIdHash=eyJpdiI6ImR6VWhDXC8wdnNOUVZoSENQV3dSdGJBPT0iLCJ2YWx1ZSI6InF6YTZjNUV0XC9zZCtkb3RBWDNZSG53PT0iLCJtYWMiOiIzYWJhMTk5MDYyODExNWE3OWU5ZTZiNjU1MjFjYmUxMjEzNjFiOTQwNmVkNmMyZDIyZTE0ZmMzZGJkYjBmYjVkIn0=&pageFromUrl="+url+"&parentPageFromUrl="+parentUrl;var s2 = document.getElementsByTagName("script")[0];s2.parentNode.insertBefore(s, s2);})();</script><!-- End Deadline Funnel -->
    
    Plugin Author 99robots

    (@99robots)

    Hi @contemplate,

    Thanks for waiting. We checked the script you shared with us and there is no such issue or 404 error with saving the snippet.
    There might be some other plugin that may be causing this issue.
    Also, please make sure to update your permalink settings.

    If you have any other questions please let us know.

    Thanks.

    Thread Starter contemplate

    (@contemplate)

    hmm. The permalinks update didn’t help. I’ll need to try disabling plugins on a staging site to see where the issue is.

    Plugin Author 99robots

    (@99robots)

    Hi @contemplate,

    Yes, you have to find the plugin which is doing this conflict. Because we run the script that you mentioned and it was working fine.
    Feel free to contact us if you are still unable to solve this issue.

    Thanks.

    Plugin Author 99robots

    (@99robots)

    Closing this ticket as it’s very old and was not found to be a plugin issue. Please do open a new ticket if there are other issues.

    And please do take a second to leave us a review to keep this plugin free with ongoing maintenance, updates, and free support.

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

The topic ‘Plugin Crash on Deadline Funnel embed script’ is closed to new replies.