Search code examples
google-analyticsgoogle-apidata-import

Custom Metric fed with imported data against Product SKU acting weird


I've created a new custom metrics to import metrics associated with product sku. I've used the data import function to feed this custom metric. Data are successfully imported.

However, the imported data doesn't match the value I have in the csv file...

I've also built a report using Product SKU as dimension and with the new custom metrics, I don't understand why but this custom metrics is changing over time when it supposed to be fixed... or I missing something.

Here is the Data Set schema :

Key: ga:productSku
Imported Data: ga:metric13
Overwrite hit data: Yes

ga:metric13 has just been created especially for this data import.

What is wrong here?


Solution

  • ok I found the answer. My question wasn't clear. I didn't know what was my issue. I've started importing data with the assumption that Custom Dimension and Custom Metrics were somehow similar. There are not. Custom metrics are incremented for each hit where the custom metrics are collected. So basically when reporting a custom metrics against product SKU the value of the custom metric will be equal to the number of hits * value of the custom metrics imported.