remove php matomo

This commit is contained in:
2024-04-16 19:20:59 +02:00
parent 53db256244
commit 601099301c
2 changed files with 4 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ use Illuminate\Console\Command;
use Spatie\Sitemap\SitemapGenerator;
use Spatie\Crawler\Crawler;
use Spatie\Sitemap\Tags\Url;
use Alfrasc\MatomoTracker\Facades\LaravelMatomoTracker;
class IkeaSitemap extends Command
{
@@ -31,6 +32,7 @@ class IkeaSitemap extends Command
public function handle()
{
$path = $this->argument('path');
LaravelMatomoTracker::doTrackPageView('sitemap');
SitemapGenerator::create('https://prices.soson.eu')
->configureCrawler(function (Crawler $crawler) {
$crawler->ignoreRobots();