Skip to content

Commit

Permalink
Merge pull request #53 from pierreavizou/issue-50-ga
Browse files Browse the repository at this point in the history
Addresses issue #50: populate 'category' and 'label' fields in GA
  • Loading branch information
sayan-rudder authored May 1, 2020
2 parents 269cdf5 + d41e8f7 commit 4d7905d
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 4d7905d

Please sign in to comment.