Website on WordPress. Orders are transferred from it to KeyCRM (CRM system) through their standard integration module.
Need to configure in WordPress so that UTM tags are transferred with orders.
Then adjust the order transfer module from the website to KeyCRM so that UTM tags are transferred to it.
UTM tag fields match KeyCRM fields.
Here are instructions for developers:
https://docs.keycrm.app/
Marketing section. There is information on UTM there.
https://keycrm-messaging.s3.de.io.cloud.ovh.net/uploads/8f682c48-6c9e-4dec-a92f-32bc6df7a754/v0KTWJ2tG2j6s4NKuFP7z69nmZsU9Luv.png
For consultation from KeyCRM tech support:
Add in the file
wp-content/plugins/woo-keycrm/include/https://keycrm-funcs.php
data transfer from them to the corresponding CRM tag fields - https://docs.keycrm.app/#/Order/createNewOrder
If you have woocommerce 8.7 and above, which added special UTM tag fields to orders, add code in the transfer file to retrieve data from them:
'marketing' => [ 'utm_source' => isset($_POST['wc_order_attribution_utm_source']) ? $_POST['wc_order_attribution_utm_source'] : '', 'utm_medium' => isset($_POST['wc_order_attribution_utm_medium']) ? $_POST['wc_order_attribution_utm_medium'] : '', 'utm_campaign' => isset($_POST['wc_order_attribution_utm_campaign']) ? $_POST['wc_order_attribution_utm_campaign'] : '', 'utm_term' => isset($_POST['wc_order_attribution_utm_term']) ? $_POST['wc_order_attribution_utm_term'] : '', 'utm_content' => isset($_POST['wc_order_attribution_utm_content']) ? $_POST['wc_order_attribution_utm_content'] : '' ],