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

Potential issue with dataLayer event push on Transaction #64

Open
colemichaelwenger opened this issue Jan 29, 2023 · 0 comments
Open

Potential issue with dataLayer event push on Transaction #64

colemichaelwenger opened this issue Jan 29, 2023 · 0 comments

Comments

@colemichaelwenger
Copy link

This repo was an amazing discovery and really helped with my store setup. I appreciate the work!

I did have a question with the Transaction event. If I'm reading this code correctly here, https://github.com/TechnicalWebAnalytics/dataLayer-shopify/blob/master/dataLayer-allPages.js#L517-L527, it's only pushing a Transaction when debug mode is on. Is this the intended behavior? I noticed I started losing transaction data when I turned off debug. I can leave it on and be fine, but its just cleaner and feels better to have it off when in prod. But I didn't know if there was an intention behind this or if it was an error. Thank you!

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

No branches or pull requests

1 participant