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
Requires
- laravel/framework: ^8.12|^9.0
- livewire/livewire: ^2.8
README
This package installs Hubspot Tracking Code with Visitor Identification support.
Installation
- Install composer package:
composer require lotharthesavior/livewire-hubspot
- Install configuration file:
php artisan vendor:publish --tag=livewire-hubspot-config
- 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