PHP code example of dealnews / jitsu-analytics
1. Go to this page and download the library: Download dealnews/jitsu-analytics library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dealnews / jitsu-analytics example snippets
$jitsu = new DealNews\JitsuAnalytics\Send("YOUR WRITE KEY", "YOUR JITSU DOMAIN");
$jitsu->track(
'some_event',
[
'some_prop' => 'some_value'
]
);