The first step to starting a new site is to configure it using the Site Configuration tab, where you specify a name, provide a description, and create the URL for your site.
The site remains private until you share your site.
- Browse to the administrative application.
- On the Sites tab, choose Create New Site.
The Site Builder opens to the Site Configuration tab.
- Provide a name for the site. The name appears on the browser tab. There is a maximum 70-character limit.
- Optionally provide a browser icon.
- Provide a site URL. The name you provide appears at the beginning of your organization's standard site URL, for example, mysitename-hub.arcgis.com. There is a maximum 64-character limit. By default, the site will be named data.
- Set a fixed map extent.
- Click Save.
Configure a custom URL
A custom URL is configured by using your organization's own domain or subdomains. Organizations commonly register a custom domain name as the name of their organization or something recognizable to their brand to maintain consistency across all their web content. They may also use subdomains to structure additional sites in relation to their domain.
While you can configure the default URL of your hub site by modifying the subdomain, the domain for your site will remain hub.arcgis. Alternatively, your organization can use a custom domain if your organization has one. To configure a custom URL, adhere to the following steps precisely to ensure that your custom domain is configured correctly.
- From within the Site Editor, click Settings on the customize panel.
- Ensure that you site is saved.
- Click Manage Custom Domain.
- Enter a custom domain.
- Click Okay or Cancel to start over.
- Click Save.
The steps for configuring your domain name system (DNS) vary depending on where your domain name is registered. You should check with your registrar for details. Changes to domain registrations can take up to a day to function, so be aware of the potential delay. In the meantime, you can use your configured hub.arcgis.com site URL.
For a custom URL with a subdomain
For a custom URL with a subdomain, such as data.example.org, you need to create a CNAME record. The CNAME should point to hub.arcgis.com.
For a custom URL without a subdomain
For a custom URL using a root domain, such as example.org, a CNAME cannot be used directly. You must first create a domain with a subdomain (www.example.com) with a CNAME as above. Then, configure your registrar to provide a redirect to the root domain (example.org). Many, but not all, registrars can provide this type of redirection, so you should check with your registrar for details.
- Create a site with a custom domain of www.example.org.
- Set up www.example.org as a CNAME to hub.arcgis.com.
- Configure your DNS provider to redirect example.com to www.example.com.
Use a custom basemap
You can configure your site to use a custom basemap from your organization's Map Viewer basemap gallery. By default, your Map Viewer gallery contains a set of basemaps from Esri. Your organization can also configure Map Viewer. All custom basemaps must have HTTPS connections enabled on the service.
- Sign in to the ArcGIS Hub administrative application.
- Click the Sites tab.
- Choose Create a site or choose Settings on an existing site to set a new basemap.
- Scroll below the map and choose the Custom Basemap option.
- Choose a basemap from your basemap gallery.
Basemaps that use a projection other than Web Mercator do not support location search within the map.
Vector tile basemaps are not supported at this time.
You can add Google Analytics to your site by entering your Tracking ID. This will automatically push analytics to your Google Analytics account.
- Find your Google Analytics Tracking ID in your Google Analytics account.
- Paste it into the Google Analytics Tracking ID field in the Site Configuration page.
- Click save.
Find events in Google Analytics
The Google Analytics interface provides several ways to discover how users are interacting with your site.
Most popular pages—On the Google Analytics sidebar under Behavior, click Site Content and click All Pages.
Most popular datasets—On the All Pages page, click advanced next to the icons on the side of the page. Type /datasets/ in the text box, making the whole filter Include Page Containing /datasets/. Click apply. The results will include the dataset IDs. To find the titles, copy the URL and open it in your browser.
Most popular downloads—On the sidebar under Behavior, click Events and click Top Events. In the resulting table, click dataset. From here, you can explore the most popular downloads by type. The results will include the dataset IDs. To find the titles, append the ID to your site URL with the following format: [yoursite].com/datasets/[append-ID].
Search queries—On the sidebar under Behavior, click Site Search and click Search Terms.
At this time, Google Analytics does not return metrics when users access data via APIs.
HTTPS ensures that your organization's data are encrypted during communication over the Internet. By default, all sites direct to HTTP. All sites also support access over HTTPS if entered manually. The ArcGIS Online setting of allowing access to the organization through HTTPS only is not linked to ArcGIS Hub at this time.
Setting your site to enforce HTTPS will automatically redirect any requests over HTTP to HTTPS. Enable HTTPS enforcement to ensure that your organization's data are encrypted during communication over the Internet.
- Sign in to the Hub administration application.
- Click the Sites tab.
- Find your site in the Site Manager and click Configuration.
- Under Domains, click On for the Enforce HTTPS setting.
- Click Save to confirm new settings.
You may test your site first to ensure that it will work properly over HTTPS. Clicking Test Your Site First will open your site over HTTPS in a new tab. You should look for any content and services that may be served over HTTP and fix these items before enforcing HTTPS.
Enable private item views
ArcGIS Hub supports private data. When named users in your organization are signed in to your site, they can view private items within the site. This is a capability that must be enabled on the Capabilities tab of your site.
- Browse to the Capabilities tab in your site in the Hub admin app.
- For Private Item Views, click Enabled.
- Click Save.
Now, when users are signed in, they have the option to view their own items , view open data shared with the site, or view all items that have been shared with open data groups (whether the items themselves are shared publicly or privately).