We are using checkoutCreate api to get the checkout url, and manually appending UTM params when clicks happen that should track in the Shopify dashboard but the link is getting changed and not reflecting the count in the shopify once we redirected.
Below is the URL we are currently
https://thedivashop.ng/27201732651/checkouts/e27174ef08bd73af82ab9fdf38927aa1?key=ffdfeb33f28050ba01e33e7f70a9947d&utm_source=whatsapp-sales&utm_medium=whatsapp-sales&utm_campaign=WhatsappSales
API URL we are using https://the-diva-shop-nigeria.myshopify.com/api/2023-07/graphql.json
and the body
{
"query": "mutation CheckoutCreate($input: CheckoutCreateInput!) { checkoutCreate(input: $input) { checkout { id orderStatusUrl requiresShipping totalPrice { amount currencyCode } subtotalPrice { amount currencyCode } webUrl customAttributes {key value} } } }",
"variables": {
"input": {
"lineItems": [
{
"quantity": 1,
"variantId": "gid://shopify/ProductVariant/40187816345643"
}
],
"customAttributes": [
{
"key": "utm_source",
"value": "WhatsappSales"
},
{
"key": "utm_medium",
"value": "whatsapp-sales"
},
{
"key": "utm_campaign",
"value": "WhatsappSales"
}
]
}
}
}
also we tried to add customattributes as well it didn’t work please help


