Skip to content

Transaction ID may be Text rather than Integer #45

Description

@steverabino

According to https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce#transaction and https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce#item, Transaction ID in each of these scenarios is a Text field.

However, I believe GA Debugger is parsing the ID as an integer, which gives us a different result to GA when using Transaction IDs that are not pure Integers.

I think this is being done https://github.com/keithclark/gadebugger/blob/master/src/core/utmBeacon.js#L246 and https://github.com/keithclark/gadebugger/blob/master/src/core/utmBeacon.js#L262.

cc/ @NGMarmaduke who originally found the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions