Exemplos de Implementação do WhatsApp

Botão de WhatsApp - Web

Código Fonte
              <button onclick="window.open('https://web.whatsapp.com/send?phone=5512996772172&text=Olá OLECRAM TI!', '_blank')">WhatsApp</button>
            

Botão WhatsApp API

Código Fonte
              <button onclick="window.open('https://api.whatsapp.com/send?phone=5512996772172&text=Ola', '_blank')">WhatsApp</button>
            

Botão WhatsApp - wa.me

Código Fonte
              <button onclick="window.open('https://wa.me/5512996772172', '_blank')">WhatsApp</button>
            

WhatsApp Flutuante - Esquerda

Código Fonte
              <script type="text/javascript">
              (function () {
                  var options = {
                      whatsapp: "5512996772172",
                      company_logo_url: "//static.whatshelp.io/img/flag.png",
                      call_to_action: "",
                      position: "left",
                  };
                  var proto = document.location.protocol, host = "getbutton.io", url = proto + "//static." + host;
                  var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
                  s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
                  var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
              })();
              </script>
            

WhatsApp Flutuante - Direita

Código Fonte
              <script type="text/javascript">
              (function () {
                  var options = {
                      whatsapp: "5512996772172",
                      email: "contato@olecramti.com.br",
                      call: "12996772172",
                      company_logo_url: "//static.whatshelp.io/img/flag.png",
                      greeting_message: "Olá, como podemos ajudá-lo? Fale agora mesmo!",
                      call_to_action: "Fale Agora!",
                      button_color: "#34af23",
                      position: "right",
                      order: "whatsapp,call,email",
                  };
                  var proto = document.location.protocol, host = "getbutton.io", url = proto + "//static." + host;
                  var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
                  s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
                  var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
              })();
              </script>