<?php
namespace Elements\Bundle\TrackingBundle;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
class ElementsTrackingBundle extends AbstractPimcoreBundle
{
public function getJsPaths()
{
return [];
}
public function getVersion()
{
$version = '1.0';
if (class_exists('\\Composer\\InstalledVersions')) {
$version = \Composer\InstalledVersions::getVersion('elements/tracking-bundle');
} else {
$version = \PackageVersions\Versions::getVersion('elements/tracking-bundle');
}
return $version;
}
public function getDescription()
{
return 'Tracking for GA4 and server-side';
}
}