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

GA: Add checkout options to the checkout step completed event hit #422

Closed
wants to merge 0 commits into from

Conversation

gpsamson
Copy link
Contributor

@gpsamson gpsamson commented Feb 13, 2020

What does this PR do?

  • [Google Analytics] Add checkout options to the checkout step completed event hit

https://segment.atlassian.net/browse/STRATCONN-41

@gpsamson gpsamson force-pushed the gps/ecomm branch 2 times, most recently from a6c42c5 to 48f6373 Compare February 13, 2020 00:29
@gpsamson gpsamson changed the title GA: Add checkout options to non enhanced commerce calls GA: Add checkout options to the checkout step completed event hit Feb 13, 2020
Copy link
Contributor

@briemcnally briemcnally left a comment

Choose a reason for hiding this comment

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

LGTM just left one question. 🚢

window.ga(self._trackerName + 'send', 'event', 'Checkout', 'Option', {
step: props.step || 1,
option: options
});
Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM! Do we know if there is any negative side effects of sending the step and option twice here? I don't see any based off your tests but was just wondering if you noticed anything in your local testing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Negative, not that I've noticed in my end-to-end tests. I have a customer testing this first so I'll give them some extra time to look at reports and confirm.

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.

None yet

2 participants