Skip to content

Commit

Permalink
Addresses issue rudderlabs#50: populate 'category' and 'label' fields…
Browse files Browse the repository at this point in the history
… in GA
  • Loading branch information
pierreavizou committed Apr 30, 2020
1 parent 269cdf5 commit d41e8f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions integrations/GA/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ class GA {
eventValue = rudderElement.message.properties.value
? rudderElement.message.properties.value
: rudderElement.message.properties.revenue;
eventCategory = rudderElement.message.properties.category
? rudderElement.message.properties.category
: eventCategory;
eventLabel = rudderElement.message.properties.label
? rudderElement.message.properties.label
: eventLabel;
}

var payLoad = {
Expand Down

0 comments on commit d41e8f7

Please sign in to comment.