Mobile app version of vmapp.org
Login or Join
Shelley277

: Can I have a Google Analytics ecommerce transaction without items? I've searched around to clarify this, I'm pretty sure I can, but just want to make sure. I want to use Google Analytics Ecommerce

@Shelley277

Posted in: #Ecommerce #GoogleAnalytics

I've searched around to clarify this, I'm pretty sure I can, but just want to make sure.

I want to use Google Analytics Ecommerce tracking to track hotel reservations. All I'm interested in is the total revenue associated with the transaction.

In the documentation here: developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce
It seems to be worded as if you are required to add item objects along with your transaction object. Am I able to send just a transaction object with no items attached?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley277

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

The only required elements for the transaction data is a transaction ID, and the only required elements for the transaction products are the transaction ID and the name of the product, as indicated in the same link you posted. Having said that though, if you want to be able to track revenue, you would need to also send price data in the transaction item list.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme