Send offline conversion events to a Facebook dataset reading from a csv file.
https://developers.facebook.com/docs/marketing-api/offline-conversions
Clone the repository in you local machine
$ git clone https://github.com/freibergergarcia/facebook-offline-conversions.git
To install all dependencies run
$ composer update
You should edit the file .env.dev with the Facebook credentials. To get the credentials, follow the Setup items 1 to 6 on the offline conversion link above.
- PHP 7.2
- Composer
$ vendor/bin/phpunit
If you need to change any of the config edit the phpunit.xml. Logs can be seen here.