PHP code example of candyblue / kirby3-gtm

1. Go to this page and download the library: Download candyblue/kirby3-gtm 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/ */

    

candyblue / kirby3-gtm example snippets

/site/config/config.yourdomain.com.php

return [
  'lukasbecker.kirby3-gtm.id' => 'GTM-XXXXXXX',
];
gtm-script.php
 snippet('gtm-script') 
gtm-noscript.php
 snippet('gtm-noscript')