Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First make sure that you have linked your Google Adwords account to your Google Analytics account (this is recommended by Google).  Next click on StoreFronts → Conversion and Tracking → Google.  Scroll down to the Google Analytics Experiments section and populate the Account Id, Property Id and Profile ID then click Connect.  More detail on finding these values and connecting the API is found under the Performing an Experiment.  In the future this section will be renamed "Google Analytics API" as the connection does more than use the Google Analytics experiment engine.

...

The UltraCart Analytics engine will make a best effort to track users between the landing page domain and the checkout domain when they are different.  There are no additional changes that are required when deploying the tracking script to your external site other than properly configuring the mid and channel parameters.

Firing Events on External Websites

If you have implemented a custom checkout using our REST APIs you may want to fire events when the customer adds items to their cart and initiates the checkout process to help drive the funnel information on the analytics dashboard.  Below are example of firing events when UC Analytics is loaded on the page.

Add Items

Code Block
languagejs
titleAdd Items Event
window.ucaEvent(
  {
    "event": "add items",
    "items": [
      {
        "itemId": "SKU_1",
        "quantity": 1
      },
      {
        "itemId": "SKU_2",
        "quantity": 1
      }
    ]
  }
);


Initiate Checkout

Code Block
languagejs
titleInitiate Checkout
window.ucaEvent(
  {
    "event": "initiate checkout",
    "items": [
      {
        "itemId": "SKU_1",
        "quantity": 1
      },
      {
        "itemId": "SKU_2",
        "quantity": 1
      }
    ]
  }
);



Dashboard Widgets


There are currently three different types of widgets related to UltraCart Analytics that you can place on your dashboard. 

...

Expand
titleMy profit is much higher than in reality.  What should I change?

Make sure that you configure all of your expenses as shown in the document above.  Once you configure an expense it will effect go forward data collection, but nothing historical that has already been collected.


Expand
titleI am seeing auto order rebills that contain UTM parameters, why is that?

UTM campaign hits across all sessions since customer first visited or their last order.


Expand
titleWhy do orders show UTM parameters appearing after the order placed date?

Analytics sessions process asynchronously several minutes after the order is placed.


Expand
titleMy marketing campaigns are not tracking profit.  What is wrong?

Make sure that you instrument your marketing campaigns with UTM parameters so that the source and campaign name can properly match up.  If the campaigns are targeted at an external website, please see the section above about tracking on an external website for the proper script to deploy.

...

Expand
titleI'm trying to build some deeper reporting for our orders coming through ultracart. I've exported the orders using all columns into a CSV format and the numbers I see from those orders don't match the "Total Sales" number in the Statistics (Basic) section. I was wondering if you could enlighten me as to how that number and the "Total orders" is calculated. I have all the orders in one table with line items in the order broken out into another table and I can't seem to match the numbers up.

The analytics engine that drives that dashboard widgets uses a delayed event stream (see previous Q/A above), therefore it may differ slightly from the official order database. 
If you're doing accounting type reporting and reconciliation, it's recommended that you use either the
Reports menu or order exports for conducting a deeper analysis of your sales activity.

...