Marketing campaigns are only useful when you can connect them to a concrete outcome. In WooCommerce this means knowing which newsletter, ad or content led to an order, without relying on separate sheets or rote URLs.
What are UTM parameters
The parameters utm_source, utm_medium, utm_campaign, utm_content e utm_term describe the origin and context of a visit. A stable convention is more important than the amount of parameters: use lowercase names, avoid variants like “facebook”, “Facebook” and “fb” and document active campaigns.
A simple structure that remains readable
- Source: platform or partner, for example Google or newsletter.
- Medium: channel, such as cpc, email or social.
- Campaign: recognizable commercial initiative.
- Contents: variant of creative or CTA.
Before publishing, always check the destination, the absence of redirects that eliminate the query string and the consistency of the names.
From click to order WooCommerce
A first-party tracker preserves attribution in the browser and copies it into the order metadata at checkout. The first touch answers "how did you discover us?", the last touch answers "which campaign closed the sale?". For more mature decisions it is useful to keep both and read the customer journey.
Privacy and consent
Marketing metrics should not become a way to collect personal information. Save only what is needed, remove the query string from the landing page and activate tracking based on the user's statistical choice through a solution compatible with the WordPress Consent API.
How to check that it works
- Open a test URL in a private window after giving consent.
- Complete a test order.
- Check source, medium and campaign in order.
- Check net revenues, refunds and coupons in the selected period.

