esign / laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API
MIT License
53 stars 11 forks source link

Docs not clear #4

Closed softail closed 1 year ago

softail commented 1 year ago

image

I am trying to use this package for the first time, but i don't understand where do i put these events? For example i want to sent an event on all pages like so:

ConversionsApi::addEvent(
    (new Event())->setEventName('PageView')->setEventId((string) Str::uuid())
);
jordyvanderhaegen commented 1 year ago

Hi, this package ships with a built-in solution to track PageViews, see the docs.