PHP code example of lvlup-dev / fathom
1. Go to this page and download the library: Download lvlup-dev/fathom 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/ */
lvlup-dev / fathom example snippets
php
Fathom::script(YOUR_SITE_ID)
php
Fathom::goalCompletion(YOUR_GOAL_ID, VALUE_IN_CENTS)