...
2a. Often you do not need all the information in a data layer. You could then use the following method to select data from a specific key:
...
Note |
---|
Do note, this method will only return the first value found. If there are more entries in the data layer with an ecommerce key, these will not be returned. |
2b. The second method is to use an external JavaScript file.
...