Reenable utm parameters for Google

This commit is contained in:
Björn Fromme
2019-09-11 09:09:40 +02:00
parent 1c03c3e035
commit 50f1c2994f
@@ -97,15 +97,12 @@ class ResellerDataService implements SingletonInterface
array $imageProcessingInstructions = null, array $imageProcessingInstructions = null,
$type = 'facebook' $type = 'facebook'
) { ) {
/* $queryData = $type !== 'google' ? [] : [
$queryData = [ 'utm_source' => 'google',
'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,