diff options
Diffstat (limited to 'plugins/Events')
-rw-r--r-- | plugins/Events/Actions/ActionEvent.php | 14 | ||||
-rw-r--r-- | plugins/Events/lang/ja.json | 2 | ||||
-rw-r--r-- | plugins/Events/lang/sk.json | 11 |
3 files changed, 23 insertions, 4 deletions
diff --git a/plugins/Events/Actions/ActionEvent.php b/plugins/Events/Actions/ActionEvent.php index 9921c8d39b..5106ec6092 100644 --- a/plugins/Events/Actions/ActionEvent.php +++ b/plugins/Events/Actions/ActionEvent.php @@ -60,9 +60,17 @@ class ActionEvent extends Action protected function getActionsToLookup() { - return array( - 'idaction_url' => $this->getUrlAndType() - ); + $actionUrl = false; + + $url = $this->getActionUrl(); + + if (!empty($url)) { + // normalize urls by stripping protocol and www + $url = Tracker\PageUrl::normalizeUrl($url); + $actionUrl = array($url['url'], $this->getActionType(), $url['prefixId']); + } + + return array('idaction_url' => $actionUrl); } // Do not track this Event URL as Entry/Exit Page URL (leave the existing entry/exit) diff --git a/plugins/Events/lang/ja.json b/plugins/Events/lang/ja.json index 4304953ddf..10051096aa 100644 --- a/plugins/Events/lang/ja.json +++ b/plugins/Events/lang/ja.json @@ -1,5 +1,6 @@ { "Events": { + "PluginDescription": "イベントを追跡し、ビジターアクティビティのレポートを取得します。", "AvgEventValue": "イベントの平均値: %s", "AvgValue": "平均値", "AvgValueDocumentation": "このイベントのすべての値の平均値", @@ -14,6 +15,7 @@ "EventsWithValue": "値を持つイベント", "EventsWithValueDocumentation": "イベントの値が設定されたイベント数", "EventValue": "イベントの値", + "EventValueTooltip": "総イベント値は %s 件のイベント値の合計です。 %s 最小値は %s 、最大値は %s です 。", "MaxValue": "最大値", "MaxValueDocumentation": "このイベントの最大値", "MinValue": "最小値", diff --git a/plugins/Events/lang/sk.json b/plugins/Events/lang/sk.json index 396cf2c319..a45b722eb4 100644 --- a/plugins/Events/lang/sk.json +++ b/plugins/Events/lang/sk.json @@ -1,5 +1,14 @@ { "Events": { - "AvgValue": "Priemerná hodnota" + "PluginDescription": "Sledovanie Udalostí a získanie reportu ohľadom aktivity vašich návštevníkov.", + "AvgValue": "Priemerná hodnota", + "Events": "Udalosti", + "EventsWithValue": "Udalosti s hodnotou", + "EventsWithValueDocumentation": "Počet udalostí, kde bola nastavená hodnota Udalosti", + "EventValueTooltip": "Hodnota Udalostí celom je suma %s hodnôt udalostí %s medzi minimom %s a maximom %s.", + "TopEvents": "Top Udalosti", + "TotalEvents": "Udalosti celkom", + "TotalEventsDocumentation": "Celkový počet udalostí", + "ViewEvents": "Zobraziť udalosti" } }
\ No newline at end of file |