Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Track orders on finish page using the order number as transaction id
issue: NEXT-19166
author: Max
author_email: [email protected]
author_github: @aragon999
---
- Changed the Google Analytics order tracking to only track the order on the finish page instead when submitting the confirm form, such that the orders are only tracked once they are really submitted
- Changed the transaction ID of the tracked order to be the order number instead of a random ID preventing tracking of the same order multiple times
- Deprecated the
generateUuid
method ingoogle-analytics/events/purchase.event.js
, because theexecute
method now pulls the uuid from the template