You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2017/02/15 16:34:34 UTC

incubator-unomi git commit: UNOMI-21 Make the default location configurable instead of hardcoded. - Quick documentation

Repository: incubator-unomi
Updated Branches:
  refs/heads/master 023009de6 -> 06030beff


UNOMI-21 Make the default location configurable instead of hardcoded.
- Quick documentation

Signed-off-by: Serge Huber <sh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/06030bef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/06030bef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/06030bef

Branch: refs/heads/master
Commit: 06030beff112bb0ac2bea94dbba0d011be0b7e83
Parents: 023009d
Author: Serge Huber <sh...@apache.org>
Authored: Wed Feb 15 17:34:24 2017 +0100
Committer: Serge Huber <sh...@apache.org>
Committed: Wed Feb 15 17:34:24 2017 +0100

----------------------------------------------------------------------
 src/site/markdown/configuration.md | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/06030bef/src/site/markdown/configuration.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/configuration.md b/src/site/markdown/configuration.md
index 1d39ba9..5880732 100644
--- a/src/site/markdown/configuration.md
+++ b/src/site/markdown/configuration.md
@@ -281,3 +281,25 @@ common.conf:
     
     ProxyPass / http://localhost:8181/ connectiontimeout=20 timeout=300 ttl=120
     ProxyPassReverse / http://localhost:8181/
+
+Changing the default tracking location
+--------------------------------------
+
+When performing localhost requests to Apache Unomi, a default location will be used to insert values into the session
+to make the location-based personalization still work. You can find the default location settings in the file : 
+
+    org.apache.unomi.plugins.request.cfg
+    
+that contains the following default settings:
+
+    # The following settings represent the default position that is used for localhost requests
+    defaultSessionCountryCode=CH
+    defaultSessionCountryName=Switzerland
+    defaultSessionCity=Geneva
+    defaultSessionAdminSubDiv1=2660645
+    defaultSessionAdminSubDiv2=6458783
+    defaultSessionIsp=Cablecom
+    defaultLatitude=46.1884341
+    defaultLongitude=6.1282508
+
+You might want to change these for testing or for demonstration purposes.
\ No newline at end of file