Skip to content

Potential issue with dataLayer event push on Transaction #64

Description

@colemichaelwenger

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions