Requires Admin permissions.
Now that you are finished connecting yourGoogle ECommerceaccount, what can you do with that data in MBI? In this article, we walk you through building dimensions that will link your eCommerce data with your orders and customer data.
The dimensions we cover will give you the ability to build analyses that answer vital questions about your marketing channels and campaigns. What percent of revenue comes from each source? How does the lifetime value of Facebook acquired customers compare to those from Google?
To create the dimensions in this article, you need a Google ECommerce table, an orders
table, and a customers
table. Those tables have to be synced to your data warehouse before dimensions can be built. Tables that are synced display in the Synced Tables
section of the Data Warehouse Manager
.
Here is a quick look at syncing tables and columns if you need a refresher:
After creating a join from the orders
table to the Google eCommerce table, we create the first three dimensions in the list below. Next, we use those dimensions to create three user/customer dimensions in the customers
table. To finish up, we join those columns to the orders
table.
Here are the dimensions we cover:
Orders table
Order’s Google Analytics source
Order’s Google Analytics medium
Order’s Google AnalyticsA campaign
Customer’s first order’s Google Analytics source
Customer’s first order’s Google Analytics medium
Customer’s first order’s Google Analytics campaign
Customers table
Customer’s first order’s Google Analytics source
Customer’s first order’s Google Analytics medium
Customer’s first order’s Google Analytics campaign
To create dimensions, open the Data Warehouse Manager by clicking Data > Data Warehouse.
In this example, we build the Order’s Google Analytics Source dimension.
From the list of tables in the Data Warehouse, click the table (in our case, orders
) that contains your order information.
Click Create a Column.
Name the column.
Select Joined Column
from the definition dropdown. In this example, we are working with a one-to-one relationship, matching the eCommerce.transactionID
column to exactly one row of the orders
table.
Next, we need to define the path, or how the table and column being used are connected. Click the Select a table and column
dropdown.
The path we need is not available, so we need to create a new one. Click Create new Path.
In the window that displays, set the Many
side to orders.order\_id
, or the column in the orders
table that contains the order ID.
On the One
side, find the Google ECommerce
table, then set the column to transactionID
.
Click Save to create the path.
After the path is added, click the Select table and column dropdown again.
Locate the ECommerce
table, and then click the Source
column. This ties the orders to the source information.
Once you are back in the table schema, Click Save again to create the dimension.
Here is a look at the whole process:
Next, try creating Order’s Google Analytics medium and campaign
. Not much will change for these dimensions, so give it a try. But if you get stuck, you can check out the end of this article to see what is different.
In this example, we build the Customer’s first order’s Google Analytics source dimension.
From the list of tables in the Data Warehouse, click the table (in our case, customers
) that contains your customer information.
Click Create a Column.
Name the column.
For this example, we select the is MAX
definition from the definition dropdown. The is MIN
definition could also work if applied to a text column with only one possible value. The important part is ensuring proper filters are set, which we do later.
Click the Select a table and column dropdown and select the orders
table, then the Order's Google Analytics source
column.
Click Save.
Once you are back in the table schema, click the Options
dropdown, then Filters
.
Click Add Filter Set and then select the Orders we count
set. We only want orders included in the orders we count filter set to be included, so it is important that this filter set is selected.
Click Add Filter. We want to find the customer’s first order’s Google Analytics source, so we need to add a filter:
_orders.Customer’s order number = 1
_
Click Save to create the dimension.
Next, try creating Customer’s first order’s Google Analytics medium and campaign
. Not much will change for these dimensions, so give it a try. But if you get stuck, you can check out the end of this article to see what is different.
You can stop here if you want, but this section enables further analysis by bringing the Customer’s first order’s Google Analytics dimensions we created in the last section into the orders
table. Creating the dimensions in this section lets you analyze all the metrics built on your orders
table - Revenue
, Number of orders
, Distinct buyers
, and so on - using the Google Analytics attributes of a customer’s first order.
In this example, we join the Customer's first order's Google Analytics source
dimension to the orders
table.
orders
) that contains your order information.Joined Column
from the definition dropdown. This will join the customer dimensions you created in the previous section to the orders
table.customers
table and the Customer's first order's Google Analytics source
column.Here is a look at the whole process:
Finish up by joining the Customer's first order's
medium and campaign
dimensions to the orders
table. Give it a try, and as we mentioned before, check out the end of the article if you need help.
We finished creating the dimensions, which means we can now create powerful analyses that track the performance of our various channels and campaigns. We know you are eager to get started, but remember the new columns will not be available until after the next update completes.
We covered some of the more popular dimensions in this article, but the sky is the limit - try creating your own or feel free to ping us if you want help exploring other options.
Orders
table #1: When creating the Order's Google Analytics
medium and campaign
dimensions, the difference will be the columns selected in step 12. In our example, the column was Source
.
Customers
table: When creating the Customer's first order's Google Analytics
medium and campaign
dimensions, the difference will be the columns selected in step 5. In our example, the column was Order's Google Analytics
source.
Orders
table #2: When joining the Customer's first order's Google Analytics
medium and campaign
columns to the orders
table, the difference will be the columns selected in step 5. In our example, the column was Customer's first order's Google Analytics
source.