Temporarily disable utm params in product catalogs

This commit is contained in:
Björn Fromme
2019-08-21 10:12:04 +02:00
parent 18d8a30282
commit 37be87da46
@@ -97,12 +97,15 @@ class ResellerDataService implements SingletonInterface
array $imageProcessingInstructions = null, array $imageProcessingInstructions = null,
$type = 'facebook' $type = 'facebook'
) { ) {
/*
$queryData = [ $queryData = [
'utm_source' => $type === 'google' ? 'google' : 'social', 'utm_source' => $type === 'google' ? 'google' : 'social',
'utm_medium' => 'cpc', 'utm_medium' => 'cpc',
'utm_campaign' => 'dynamisches-remarketing', 'utm_campaign' => 'dynamisches-remarketing',
'utm_content' => $product->getCode(), 'utm_content' => $product->getCode(),
]; ];
*/
$queryData = [];
$data = SerializedProduct::fromEntity( $data = SerializedProduct::fromEntity(
$product, $product,