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

[WAKE] Feat: create wake checkout metadata actions and add on page load #912

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

IncognitaDev
Copy link
Contributor

What is this Contribution About?

This PR add wake checkout metadata actions and set this metadata on page load to set utm params on checkout

Copy link
Contributor

github-actions bot commented Oct 9, 2024

Tagging Options

Should a new tag be published when this PR is merged?

  • 👍 for Patch 0.61.1 update
  • 🎉 for Minor 0.62.0 update
  • 🚀 for Major 1.0.0 update

@IncognitaDev IncognitaDev changed the title feat: create wake checkout metadata actions and add on page load [WAKE] Feat: create wake checkout metadata actions and add on page load Oct 10, 2024
@matheusgr
Copy link
Contributor

@IncognitaDev we missed the review of this task. Is it still valid?

@IncognitaDev
Copy link
Contributor Author

Yeah, this changes is in use by beyoung project with a fork that has this pr merged.

Comment on lines +139 to +143

const metadata = getUTMMetadata(globalThis.location.search);
if (metadata) {
await invoke.wake.actions.cart.addMetadata({ metadata });
}
Copy link
Contributor

Choose a reason for hiding this comment

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

This context is no longer used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants