Installing the widget on your website.
The general install process: one line of code, anywhere on the page, before the closing body tag.
What we're doing
We're going to paste a single line of JavaScript into your website's HTML. When the page loads, that line fetches the widget from TapText and drops it in the bottom-right corner of every page.
If your site runs on Shopify, WordPress, Wix, or Squarespace, there's a platform-specific guide that's slightly easier (see the Integrations category). This article covers the universal method.
Step 1. Grab your snippet
In the dashboard, go to Settings, then Install. You'll see a code block that looks like this:
<script src="https://widget.taptext.com.au/v1/loader.js" data-tt-id="YOUR_ACCOUNT_ID" async></script>
The data-tt-id is unique to your account. Don't share it publicly.
Step 2. Paste it before the closing body tag
Open the HTML for your site. Find the closing </body> tag. Paste the snippet on the line above it. Save. Publish.
Note. The snippet needs to go on every page where you want the widget visible. Most platforms have a "global" or "footer" template where one paste covers the whole site.
Step 3. Verify it loaded
Visit your site in an incognito window. Within a few seconds, the round TapText button should appear in the bottom-right corner.
If it doesn't, see Widget isn't showing on my site.
Step 4. Send a test message
Tap your own widget. Type a fake enquiry. You should receive an SMS on your business number shortly after.
Tip. Send the test from your phone's data connection, not your home Wi-Fi. We've seen ad blockers running on home networks block widget loads. Your customers won't have the same setup.
Where the widget appears
By default: bottom-right corner on every page, all devices. You can change the position, colour, and trigger behaviour in Settings, then Appearance.