]> _ Git - fluidbook-toolbox.git/commitdiff
wip #6496 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 15 Jan 2024 09:05:59 +0000 (10:05 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 15 Jan 2024 09:05:59 +0000 (10:05 +0100)
app/Models/Traits/PublicationSettings.php

index bfe5bafbb32ea0ccbf285c5a70849cd980ddffcc..beb93e9667e6574c380b99611a77c014faca0ffc 100644 (file)
@@ -28,6 +28,7 @@ use Cubist\Backpack\Magic\Fields\ReadOnlyValue;
 use Cubist\Backpack\Magic\Fields\SelectFromArray;
 use Cubist\Backpack\Magic\Fields\Text;
 use Cubist\Backpack\Magic\Fields\Textarea;
+use Cubist\Backpack\Magic\Fields\URL;
 
 // __('!!Paramètres des fluidbooks')
 
@@ -2154,6 +2155,8 @@ trait PublicationSettings
             'prefix' => 'https://'
         ]);
         $this->addSettingField('matomoSiteId', Integer::class, $this->__('Site ID'), ['when' => ['matomoServer' => '_not_empty_']]);
+        $this->addSettingField('', FormSeparator::class);
+        $this->addSettingField('matomoTagManager', Text::class, 'Matomo Tag Manager', ['prefix' => 'https://']);
     }
 
     protected function _statsGoogleAnalytics()