diff --git a/ckanext/odsh/helpers.py b/ckanext/odsh/helpers.py
index 12e9aebbc00f08b1e03824e2e0f1c197230ff6bb..d7b0d5e541cf1e661999010003eaf2bfce33fc41 100644
--- a/ckanext/odsh/helpers.py
+++ b/ckanext/odsh/helpers.py
@@ -211,3 +211,7 @@ def odsh_has_more_facets(facet, limit=None, exclude_active=False):
     if limit is not None and len(facets) > limit:
         return True
     return False
+
+
+def odsh_public_url():
+    return config.get('ckanext.odsh.public_url')
diff --git a/ckanext/odsh/plugin.py b/ckanext/odsh/plugin.py
index e80acd41fcb6975d05825a9df219eb35746d15be..36e9e367da3a9f7f9323043004f0ec34c7d8a787 100644
--- a/ckanext/odsh/plugin.py
+++ b/ckanext/odsh/plugin.py
@@ -288,7 +288,8 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
                 'presorted_license_options': odsh_helpers.presorted_license_options,
                 'odsh_tracking_id': odsh_helpers.odsh_tracking_id,
                 'odsh_tracking_url': odsh_helpers.odsh_tracking_url,
-                'odsh_has_more_facets': odsh_helpers.odsh_has_more_facets
+                'odsh_has_more_facets': odsh_helpers.odsh_has_more_facets,
+                'odsh_public_url': odsh_helpers.odsh_public_url
                 }
 
     def after_map(self, map):
diff --git a/ckanext/odsh/templates/base.html b/ckanext/odsh/templates/base.html
index 86fea0fc0e0dec4e39fd02dc1d5d390071807e2b..636ba6d2f54e392dc5b04a5bdf55f34788472b12 100644
--- a/ckanext/odsh/templates/base.html
+++ b/ckanext/odsh/templates/base.html
@@ -28,5 +28,6 @@
 </script>
 <!-- End Matomo Code -->
 {% endblock %}
+{% block bodytag %} data-site-root="{{ h.odsh_public_url }}" data-locale-root="{{ h.odsh_public_url }}" {% endblock %}
 {% block page %}
 {% endblock %}
\ No newline at end of file