Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor intellywp

    (@intellywp)

    Hi Iworldc,
    Replying at your questions:
    1) Sure! See here https://youtu.be/TDgoefbdtSI and here https://intellywp.com/tracking-code-manager/ to see also the other features.
    2) Not yet. But if you are familiar with PHP we can suggest you a way to edit our plugin.
    Let us know and if you have any other questions you can also use support@intellywp.com
    Bye, Alex.

    Thread Starter iworldc

    (@iworldc)

    Hi Alex,

    1) Great! That is good news!
    2) Yes, I’m pretty much familiar with php. Please tell me where I can insert the order variables.

    Thank you!
    Maurice

    Plugin Contributor intellywp

    (@intellywp)

    You can try to place your <script>…</script> code directly inside the function below inside the file includes/classes/Ecommerce.php.

    function wooCommerceThankYou($orderId) {

    At the end of this function you can print your code with an “echo” PHP command. Below an “untested” example

    function wooCommerceThankYou($orderId) {
                    //code
                    //code
                    //code
                    $tcm->Options->pushConversionSnippets($args);
                    ?>
                    <script>//your script</script>
                    <?php
    }

    In this way your script code will be inserted without you need also to insert in our manager.
    I hope this information can help you :), we have planned to insert in a future this feature.
    Bye, Alex.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 questions’ is closed to new replies.