Skip to content

Purchase tracking issue #27

Open
Open
@storm2513

Description

Code in spree/shared/_google_purchase.html.erb is executed, but it doesn't get to google analytics.

ga('send', 'pageview'); // Send transaction data with initial pageview. should be called after rendering this partial.
https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#transaction

Looks like there was supposed to be content_for :google_analytics do, but it is missing.

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