]> _ Git - cubeextranet.git/commitdiff
wip #3393 @0.25
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 10 Apr 2020 08:11:23 +0000 (08:11 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 10 Apr 2020 08:11:23 +0000 (08:11 +0000)
inc/ws/Controlleur/class.ws.ajax.php

index 4098a32df4ba56a94d7214fe01dbdd9415cc49a8..8673da402d31939377531bfb0ca46988beb9d92d 100644 (file)
@@ -504,7 +504,8 @@ class wsAjax extends cubeAjax
             'nombre_liens' => '',
             'nombre_langues' => '',
             'coupon' => '',
-            'fax' => '');
+            'fax' => '',
+            'gclid' => '');
 
         $_POST = array_merge($defaults, $_POST);
 
@@ -568,6 +569,7 @@ class wsAjax extends cubeAjax
             $datas['langues'] = $_POST['nombre_langues'];
             $datas['details'] = $_POST['detail'];
             $datas['coupon'] = $_POST['coupon'];
+            $datas['gclid'] = $_POST['gclid'];
             $datas['utilisateur'] = $utilisateur_id;
             $datas['revendeur'] = 0;
             $datas['status'] = 0;
@@ -596,6 +598,7 @@ class wsAjax extends cubeAjax
             'nombre_langues' => 'Langues',
             'contact_type' => 'Type de client',
             'detail' => 'Commentaires',
+            'gclid' => 'Google Ads ID (gclid)'
         );