Skip to content

Commit

Permalink
Update docs/troubleshooting/store-performance/utms-are-not-being-appl…
Browse files Browse the repository at this point in the history
…ied-to-the-cart-at-checkout.md

Co-authored-by: Karen Krieger <[email protected]>
  • Loading branch information
ricardoaerobr and karenkrieger authored Jan 7, 2025
1 parent d1a5fd1 commit 199c159
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Carry out procedures to check the existence of UTMs in the cart according to you

As previously stated, the native buy button control (`<vtex.cmc:BuyButton/>`) triggers a POST request sending all the data needed to the Checkout, including the value of the `utm_source`, `utm_campaign` and `utm_medium`.

If the UTM parameters are not being sent to the cart, you should check if your store is using a **custom purchase POST call** instead of the native control. After confirming the existence of a custom purchase POST call, you can update its settings to ensure that contains all the data needed to assemble the **orderForm**, including the marketing context, or perform one of the actions below:
If the UTM parameters are not being sent to the cart, you should check if your store is using a **custom purchase POST call** instead of the native control. After confirming the existence of a custom purchase POST call, you can update its settings to ensure that contains all the data needed to assemble the orderForm, including the marketing context, or perform one of the actions below:

- Send UTM parameters for a specific cart by accessing the [Add marketing data](https://developers.vtex.com/docs/api-reference/checkout-api#post-/api/checkout/pub/orderForm/-orderFormId-/attachments/marketingData) endpoint or by entering the `marketingData` information via the [sendAttachment](https://developers.vtex.com/docs/guides/vtexjs-for-checkout#sendattachmentattachmentid-attachment-expectedorderformsections).
- Use the [Cartman](https://help.vtex.com/tutorial/configurar-o-cartman--1ACMTStZYkMqB0lTgwg451#define-marketing-data) tool on the checkout screen to add UTM parameters directly to the cart.
Expand Down

0 comments on commit 199c159

Please sign in to comment.