Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #272687

    showard
    Participant

    Hello,

    I recently signed up with Taboola, and need to add to this code to our conversion page (to be placed in the head section of your page) which would be http://www.earthintegrate.com/thank-you.

    <head>
    ……your other head code…
    <script type=”text/javascript”> window._tfa = window._tfa || []; _tfa.push({notify:”action”,
    name: ‘conversion’});
    </script> <script src=”//cdn.taboola.com/libtrc/earthintegrate-sc/tfa.js”></script>
    </head>

    I downloaded 2 different plugins and neither of them seem to support the code because it doesn’t show up under Chrome > View > Developer > Developer tools. (Instructions per Taboola Account Manager).

    Is there some other way I could implement this code?

    #272900

    Friech
    Moderator

    Hi There,

    Thank you for writing in! Please add the below code to your child theme’s functions.php file.

    function taboola_tracking () { ?>
    
    //place tracking code here
    
    <?php }
    
    add_action('wp_head','taboola_tracking');

    Hope it helps, Cheers!

    #273561

    showard
    Participant
    This reply has been marked as private.
    #273719

    Nico
    Moderator

    Hi There,

    Thanks for the admin credentials however we could not verify on that side. Would you mind sharing us your code added and FTP so we could verify what you have added.

    Don’t forget to set it as private reply.

    Thanks.

    #273746

    showard
    Participant
    This reply has been marked as private.
    #273941

    Friech
    Moderator

    Hi There,

    Sorry if I’m not specific on my instruction above. Please remove the // on the line:

    //<script type="text/javascript">

    Double slash is a one-line commenting in PHP.

    Thanks!