PHP code example of setono / sylius-google-ads-plugin

1. Go to this page and download the library: Download setono/sylius-google-ads-plugin 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/ */

    

setono / sylius-google-ads-plugin example snippets



# config/bundles.php

return [
    // ...
    
    Setono\SyliusGoogleAdsPlugin\SetonoSyliusGoogleAdsPlugin::class => ['all' => true], // Added before the grid bundle
    Sylius\Bundle\GridBundle\SyliusGridBundle::class => ['all' => true],
    
    // ...
];
shell
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate
shell
php bin/console setono:sylius-google-ads:prune-conversions