Skip to content

Commit 0e22ba3

Browse files
committed
WIP - Removed GAnalyticsTracker usages
1 parent 0afdbfd commit 0e22ba3

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

roda-ui/roda-wui/src/main/java/org/roda/wui/client/main/GAnalyticsTracker.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ private GAnalyticsTracker() {
2727
*
2828
* @param historyToken
2929
*/
30+
@Deprecated
3031
public static void track(String historyToken) {
3132

3233
if (StringUtils.isBlank(accountId)) {
@@ -41,6 +42,7 @@ public static void track(String historyToken) {
4142
}
4243
}
4344

45+
@Deprecated
4446
private static native void setAccount(String accountId)
4547
/*-{
4648
$wnd.ga('create', accountId, 'auto');
@@ -51,6 +53,7 @@ private static native void setAccount(String accountId)
5153
*
5254
* @param page
5355
*/
56+
@Deprecated
5457
private static native void pageview(String page)
5558
/*-{
5659
$wnd.ga('set', 'page', page);

roda-ui/roda-wui/src/main/java/org/roda/wui/client/main/Main.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ private void onHistoryChanged(String historyToken) {
145145
} else {
146146
List<String> currentHistoryPath = HistoryUtils.getCurrentHistoryPath();
147147
contentPanel.update(currentHistoryPath);
148-
GAnalyticsTracker.track(historyToken);
149148
}
150149
}
151150
}

roda-ui/roda-wui/src/main/java/org/roda/wui/client/portal/MainPortal.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ private void onHistoryChanged(String historyToken) {
115115
} else {
116116
List<String> currentHistoryPath = HistoryUtils.getCurrentHistoryPath();
117117
contentPanel.update(currentHistoryPath);
118-
GAnalyticsTracker.track(historyToken);
119118
}
120119
}
121120
}

0 commit comments

Comments
 (0)