-
Notifications
You must be signed in to change notification settings - Fork 89
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
base: main
Are you sure you want to change the base?
Conversation
Tagging OptionsShould a new tag be published when this PR is merged?
|
@IncognitaDev we missed the review of this task. Is it still valid? |
Yeah, this changes is in use by beyoung project with a fork that has this pr merged. |
|
||
const metadata = getUTMMetadata(globalThis.location.search); | ||
if (metadata) { | ||
await invoke.wake.actions.cart.addMetadata({ metadata }); | ||
} |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
old stores can still using the context, i think we can make this feature available without great changes for they.
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