Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #843319

    I am trying to add a chat tool to the site and was provided instructions. I wonder what is th ebest way to get the code snippet on the site?
    Hope you had a good weekend. I sent you over the code that needs to be implemented on the website for our toolbar to go live. I’ve included it in this email as well. Just shoot it over to your website provider with the instructions below for implementing this code.

    It is important that the Gubagoo Code be placed inside the <body> tag on your webpage, and that it not be either (a) embedded in a <script> tag along with other javascript; or (b) added to your website via a tag manager (such as Google Tag Manager or a custom tag manager). Our recommendation is that it is placed as closely to the top of the <body> allowing the chat widget to render as quickly as possible for your web audience. The widget is designed to load in the background and will not delay rendering of your website.

    Adding Gubagoo code to your website via a tag manager or as a part of a larger JavaScript snippet increases probability that browser technologies designed to block advertisements are likely to prevent successful load of the chat snippet, which may prevent 30-40% of your web audience from being able to see the chat widget

    #843931

    Hey Kyle,

    Please add following code to Functions.php file in Appearance > Editor

    function av_custom_script(){
    ?>
    // Your code goes here
    <?php
    }
    add_action('wp_footer', 'av_custom_script');

    Best regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.