Skip to content

Commit

Permalink
Fix custom params OS
Browse files Browse the repository at this point in the history
  • Loading branch information
misterion committed Jul 9, 2015
1 parent 49bbe3c commit 694577a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ function setEncoding(value) {
}

function setOs(value) {
__params['cd0'] = 'OS';
__params['cm0'] = value;
__params['cd1'] = 'OS';
__params['cm1'] = value;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/Preview.qml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Rectangle {
height: 600

Component.onCompleted: {
Ga.setTrackingId('UA-19398372-80');
Ga.setTrackingId('UA-XXXXXXXX-XX');
Ga.setClientId('35009a79-1a05-49d7-b876-2b884d0f825b');

Ga.setApplicationName('Samle');
Expand Down

0 comments on commit 694577a

Please sign in to comment.