Skip to main content

How to track a product filter in the product list view with Google Analytics?

We want implement a new filter in our shop for product lists. Our customers can filter for price, size and color. As soon as the customer setsets a filter, the product list will get filtered.

We would like to track these filter settings with Google Analytics.

Is there a common way to track this data?

First I thought we could do it with custom dimensions. But, but I am not sure, if this is the correct way.

I guess an event should be enough. Something like:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'set',
  eventLabel: '<price>, <size>, <color>'
});

This would end up increating reports with many combinations. But so, but we could see what are the most wanted combinations in certain product lists.

Or I do it this way:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'set',
  eventLabel: 'Price: <price>' //or Size or Color
});

and:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'new filter',
  eventLabel: '<price>, <size>, <color>'
});

So we can see how many times a certain filter is used and what is the most used filter combination.

Note: We use enhanced ecommerceeCommerce tracking.

How to track product filter in product list view with Google Analytics?

We want implement a new filter in our shop for product lists. Our customers can filter for price, size and color. As soon as the customer set a filter, the product list will get filtered.

We would like to track these filter settings with Google Analytics.

Is there a common way to track this data?

First I thought we could do it with custom dimensions. But I am not sure, if this is the correct way.

I guess an event should be enough. Something like:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'set',
  eventLabel: '<price>, <size>, <color>'
});

This would end up in reports with many combinations. But so we could see what are the most wanted combinations in certain product lists.

Or I do it this way:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'set',
  eventLabel: 'Price: <price>' //or Size or Color
});

and

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'new filter',
  eventLabel: '<price>, <size>, <color>'
});

So we can see how many times a certain filter is used and what is the most used filter combination.

Note: We use enhanced ecommerce tracking.

How to track a product filter in the product list view with Google Analytics?

We want implement a new filter in our shop for product lists. Our customers can filter for price, size and color. As soon as the customer sets a filter, the product list will get filtered.

We would like to track these filter settings with Google Analytics.

Is there a common way to track this data?

First I thought we could do it with custom dimensions, but I am not sure if this is the correct way.

I guess an event should be enough. Something like:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'set',
  eventLabel: '<price>, <size>, <color>'
});

This would end up creating reports with many combinations, but we could see the most wanted combinations in certain product lists.

Or I do it this way:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'set',
  eventLabel: 'Price: <price>' //or Size or Color
});

and:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'new filter',
  eventLabel: '<price>, <size>, <color>'
});

So we can see how many times a certain filter is used and what is the most used filter combination.

Note: We use enhanced eCommerce tracking.

improved answer
Source Link
Jurik
  • 878
  • 1
  • 7
  • 21

We want implement a new filter in our shop for product lists. Our customers can filter for price, size and color. As soon as the customer set a filter, the product list will get filtered.

We would like to track these filter settings with Google Analytics.

Is there a common way to track this data?

First I thought we could do it with custom dimensions. But I am not sure, if this is the correct way.

I guess an event should be enough. Something like:

ga('send', {
  hitType: 'event',
  eventCategory: 'Filter''filter',
  eventAction: 'set',
  eventLabel: '<price>, <size>, <color>'
});

This would end up in reports with many combinations. But so we could see what are the most wanted combinations in certain product lists.

Or I do it this way:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'set',
  eventLabel: 'Price: <price>' //or Size or Color
});

and

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'new filter',
  eventLabel: '<price>, <size>, <color>'
});

So we can see how many times a certain filter is used and what is the most used filter combination.

Note: We use enhanced ecommerce tracking.

We want implement a new filter in our shop for product lists. Our customers can filter for price, size and color. As soon as the customer set a filter, the product list will get filtered.

We would like to track these filter settings with Google Analytics.

Is there a common way to track this data?

First I thought we could do it with custom dimensions. But I am not sure, if this is the correct way.

I guess an event should be enough. Something like:

ga('send', {
  hitType: 'event',
  eventCategory: 'Filter',
  eventAction: 'set',
  eventLabel: '<price>, <size>, <color>'
});

This would end up in reports with many combinations. But so we could see what are the most wanted combinations in certain product lists.

We want implement a new filter in our shop for product lists. Our customers can filter for price, size and color. As soon as the customer set a filter, the product list will get filtered.

We would like to track these filter settings with Google Analytics.

Is there a common way to track this data?

First I thought we could do it with custom dimensions. But I am not sure, if this is the correct way.

I guess an event should be enough. Something like:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'set',
  eventLabel: '<price>, <size>, <color>'
});

This would end up in reports with many combinations. But so we could see what are the most wanted combinations in certain product lists.

Or I do it this way:

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'set',
  eventLabel: 'Price: <price>' //or Size or Color
});

and

ga('send', {
  hitType: 'event',
  eventCategory: 'filter',
  eventAction: 'new filter',
  eventLabel: '<price>, <size>, <color>'
});

So we can see how many times a certain filter is used and what is the most used filter combination.

Note: We use enhanced ecommerce tracking.

Source Link
Jurik
  • 878
  • 1
  • 7
  • 21

How to track product filter in product list view with Google Analytics?

We want implement a new filter in our shop for product lists. Our customers can filter for price, size and color. As soon as the customer set a filter, the product list will get filtered.

We would like to track these filter settings with Google Analytics.

Is there a common way to track this data?

First I thought we could do it with custom dimensions. But I am not sure, if this is the correct way.

I guess an event should be enough. Something like:

ga('send', {
  hitType: 'event',
  eventCategory: 'Filter',
  eventAction: 'set',
  eventLabel: '<price>, <size>, <color>'
});

This would end up in reports with many combinations. But so we could see what are the most wanted combinations in certain product lists.