Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UTM parameters to product URLs in feed. #1101

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

budzanowski
Copy link
Collaborator

@budzanowski budzanowski commented Jan 27, 2025

Adding UTM parameters to the products URLs in the feed

With this change the order attribution feature in
WooCommerce will be able to correctly attribute
purchase coming from the Pinterest platform.

Changes proposed in this Pull Request:

Each link in the product feed will have the UTM parameteres added:

-'http://example.org/?product=dummy-product'
+'http://example.org/?product=dummy-product&utm_source=pinterest&utm_medium=social'

Closes https://github.com/woocommerce/woocommerce-analytics/issues/497

Detailed test instructions:

  1. Wait for the feed creation or trigger it manually
  2. Inspect the created XML feed file.

Additional details:

  • this may require followup in WooCommerce Analytics backend

Changelog entry

Add - UTM parameters to the products URLs used in the product feed.

With this change the order attribution feature in
WooCommerce will be able to correctly attribute
purchase coming from the Pinterest platform.
@github-actions github-actions bot added changelog: add A new feature, function, or functionality was added. type: enhancement The issue is a request for an enhancement. labels Jan 27, 2025
@budzanowski budzanowski marked this pull request as ready for review January 27, 2025 08:39
Copy link
Collaborator

@layoutd layoutd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@budzanowski budzanowski merged commit 9a19638 into develop Feb 6, 2025
4 checks passed
@budzanowski budzanowski deleted the add/utm-parameteres-to-product-links-in-feed branch February 6, 2025 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: add A new feature, function, or functionality was added. type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants