The documentation for implementing Enhanced Ecommerce says to use pageviews to capture data for things like product-detail views and events for things like product clicks.
But the advice I've seen from everyone else is to send events for everything. And furthermore, where I've followed the documentation for capturing data through pageviews instead of passing an event, the data does NOT get passed to GA. For triggers, I tried with a custom event named gtm.dom and the built-in DOM Ready events to no avail.
For product-detail views, for example, dataLayer looks exactly as it should when the page loads. This is dataLayer[0]:
{
"ecommerce": {
"detail": {
"products": [
{
"quantity": 1,
"price": "69.95",
"brand": "Acme",
"id": "SKU",
"name": "Quasitronic Fluxicator"
}
]
}
}
}
And in GTM I can verify that Enable Enhanced Ecommerce and Use Data Layer are checked.
