lotharthesavior/livewire-hubspot

This package is abandoned and no longer maintained. No replacement package was suggested.

Livewire Hubspot Tracking Code

1.0.0 2022-11-08 18:26 UTC

This package is auto-updated.

Last update: 2024-11-08 22:52:20 UTC


README

This package installs Hubspot Tracking Code with Visitor Identification support.

Installation

  1. Install composer package:
composer require lotharthesavior/livewire-hubspot
  1. Install configuration file:
php artisan vendor:publish --tag=livewire-hubspot-config
  1. Add it to your template:

For templates behind login all

@livewire('hubspot-tracking-code', [
    [
        'team' => auth()->user()->currentTeam->name,
        'firstname' => auth()->user()->name,
        'phone' => auth()->user()->currentTeam->phone,
    ],
])

For templates outside login all

@livewire('hubspot-tracking-code')

Todo

  • Add tests