-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(tracker): add currency context, add transactionTotal to order tr… #1078
Conversation
…ansaction payload
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.
A few changes requested in review, but additionally, there should be a way to set the currency via the script context variables (similar to shopperId
).
Perhaps something like this:
<script src="https://snapui.searchspring.io/[your_site_id]/bundle.js">
currency = { code: "USD" };
</script>
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.
Looks good.
…ansaction payload