'Need a div code w/ a button and to launch a href in same tab

We have a chat product that integrates with websites. A popular website provider in the industry refuses to put onClick events on their button CTAs from 3rd party vendors. They are requesting a div code and I sent this, where #code gives a code to fire the chat:

<div><a target="_self" href="https://www.website.page.com#code">CHAT WITH US NOW </a> </div>
  1. I thought they would put it behind a button or icon & they did not
  2. Once you are on the page and click the Chat with Us link it doesn't do anything.

When I inspect the link this is what I see:

<div class="mod content-raw" data-widget-name="content-raw" data-widget-id="content2">
    <div class="top">
        <div class="tl"></div>
        <div class="tr"></div>
    </div>
    <div class="inner">
        <div class="inner2">
            <div class="bd">
                <div class="bd2">
                    <div class="content">
                        <center>
                            <a target="_self" href="https://www.subarupeoria.com/incoming-inventory.htm#guba_ai_9"> <div>CHAT WITH US NOW</div></a>
                        </center>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="bottom">
        <div class="bl"></div>
        <div class="br"></div>
    </div>
</div>
<!-- end .mod -->

Would love to insert a button with the Chat Text and essential refresh page in the tab so it loads the chat code. OR if I could get them to add this into a div: onclick="ggToolbar.apps.chat.startEventChat(1)" which is another way to start the chat.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source