Getting reports using Google Analytics

Last updated

Google Analytics is a service offered by Google that generates detailed statistics about a website's traffic and traffic sources and measures conversions and sales. You can connect your Google Analytics to your Ecwid store and thus receive statistics on your store activity as well.

  1. How to set up Google Analytics in Ecwid
  2. FAQ
    1. Why is it necessary to set up GA in Ecwid even if I already have a GA code on my site?
    2. How do Ecwid pages look in GA backend?

How to set up Google Analytics in Ecwid

The first results in Google Analytics reports will appear in about 24 hours after you entered your ID: http://support.google.com/analytics/bin/answer.py?answer=1008083

Please also refer to this article: How can I get Ecwid sales reports based on my orders?

FAQ

Why is it necessary to set up GA in Ecwid even if I already have a GA code on my site?

All Ecwid product pages are dynamic and generated on the fly. A page isn't refreshed, Ecwid just updates the HTML code on the page. It allows loading new pages really fast.

The traditional way to track pages is to add some JS code to the page code which is executed each time you load a page and tracks your hit. If you try to use this traditional way with Ecwid, you will see that your browser will load your page just ONCE and all the other clicks in your store won't cause page reloading, and the result doesn't generate a hit. So your customer will open your store and see 100 products, but the stats will show only 1 view.

In order to overcome this limitation, we use Google Analytics API to emulate page loads. When you open a dynamic Ecwid product page, Ecwid sends a special JS request to Google Analytics saying that a new product page was opened. This way allows getting the exact number of views of your AJAX pages. That is why it's necessary to set up GA in your Ecwid back-end to get the exact stats.

How do Ecwid pages look in GA backend?

Since Ecwid emulates page loading, the "virtual" pages appear in your Google Analytics back-end. What it means:  the Ecwid pages and links you see in the GA back-end don't point to actual pages. However each "virtual" page corresponds some real page in your store.

Here is the list of virtual pages generated by Ecwid:

  • "/product/" + productId;   (productId is a unique ID of a opened product)
  • "/category/" + categoryId (categoryId is a unique ID of a opened category)
  • "/search/" + keywords
  • "/bag"
  • "/checkout/shippingDetails"
  • "/checkout/addressBook"
  • "/checkout/paymentDetails"
  • "/checkout/placeOrder"
  • "/checkout/orderPlaced"
  • "/checkout/orderFailure"
  • "/account/addressBook"
  • "/account/settings"
  • "/account/orders"
  • "/downloadError/"
Was this article helpful?
11 out of 14 found this helpful
Questions?
Get help
  • Forums

    Join the Ecwid community. Discuss support topics and store ideas with other Ecwid users.

  • Contact us

    Still have questions about Ecwid? Let us know! We will be glad to help you with your Ecwid store.

  • Status Monitor

    Get real time status updates on Ecwid services here, 24/7