To add to the solution provided above.
The Test and Target Content modification extension needs to be added and scoped to the Target tag.
Without completing this step data layer elements will not pass over to Target via the http request in the network traffic.
If you are passing over order confirmation data you should see an additional http request sent to target containing this information.
... View more