antony-sklyar / laravel-lead-tracking
This package is abandoned and no longer maintained.
No replacement package was suggested.
Simple package that provides instruments for tracking visitors of your website through cookies.
v1.0
2018-01-12 21:14 UTC
Requires
- php: >=7.0
- guzzlehttp/guzzle: ^6.2
- laravel/framework: 5.5.*
- webpatser/laravel-uuid: ^3.0
This package is not auto-updated.
Last update: 2019-01-14 09:38:59 UTC
README
The basic idea of this package is faily simple: when the user visits any page of your website it checks whether there is a cookie with his unique identifier available. If not, it generates new unique GUID and attaches this GUID as a cookie to the request.
Afterwards you can:
- Use the unique identifier provided by
CookieLeadManager::getLead()->guid
to identify unique visitors of your website. - Attach randomly A/B tests to the leads and retrieve them using
CookieLeadManager::getABTest()
to customize the UI of your website and analyse effectiveness of the A/B test. - Log visitors performing this or that action (visit some page, fill a form, click a button, etc.) using
CookieLeadManager::writeHistory()
and implementing an API that will receive that data for future analysis.
Quite simple but powerful tool for website analytics, when you need something specific to your business needs that does not fit into Google Analytics or just needs to be stored / analysed elsewhere.