heytappr.book a demo

install guide

heytappr + laravel

add heytappr to a laravel app with one script tag in your main blade layout.

where it goes

add the script to your main blade layout, usually resources/views/layouts/app.blade.php, just before the closing body tag.

resources/views/layouts/app.blade.phphtml
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
  <head>
    <meta charset="utf-8">
    <title>{{ config('app.name') }}</title>
    @vite(['resources/css/app.css', 'resources/js/app.js'])
  </head>
  <body>
    {{ $slot }}
    <script src="https://cdn.tappr.app/embed.js" data-tapprid="your-business"></script>
  </body>
</html>

things worth knowing

  • with inertia, put it in the root blade view (usually app.blade.php) and it covers every page.

  • give the controls your guides point at stable ids or data attributes. styling classes change often and break selectors.

  • allowlist your web origin in the heytappr workspace, or the embed won't load. add every origin you serve from, including staging.

questions

is there a composer package?

no. the blade layout tag is the whole install.

does it work with livewire?

yes. it runs on the rendered page, whatever renders it.

what teams do next

other stacks