Technical documentation - Search Engine and Analytics configuration

Google is discontinuing Analytics as per July1, 2024. Function will be depreciated.

 

This articles describes how to use SEO settings for Google search and how to configure Google Analytics.

SEO settings are used along with page title settings to be used to make product appear in Google search result, and how SEO settings support Google Analytics to enable to view active users and active pages. 

For Google Tag Manager see

Enable SEO Setting to display product in google search result

Version 4.2

This function is available in version 4.2 and later.

To enable seo setting, use below settings in profile.config of the site.

profile.config
<SeoSettings> <SeoOptimizationEnabled>true</SeoOptimizationEnabled> <SiteVerificationHtmlTagCode>abcd_1234</SiteVerificationHtmlTagCode> <PageIndexing>true</PageIndexing> </SeoSettings>

 

Attribute

Description

SeoOptimizationEnabled

Based on its value (true or false) seo function will be enabled for the site.

SiteVerificationHtmlTagCode

Value for this should be fetched from after submitting the site’s url to google webmaster. Explained below how to get the code.

PageIndexing

This setting will turn on/off instructions for robots to index site. If set to false this will be added to all pages. <meta name="robots" content="noindex,nofollow" />

Setting introduced in 5.1.3.

 

Below are steps for getting the SiteVerificationHtmlTagCode value.

  1. Register to google Webmaster.

  2. Add the site url Language page (http://www.domain.com/AssertWeb/en/Site/Home/Language) to webmaster by clicking in ‘Add property’.

  3. Get the content value (there are options too but this option to verify) and place it as value for ‘SiteVerificationHtmlTagCode’ from verification page.

  4. After adding the content value to ‘SiteVerificationHtmlTagCode’, run the web-viewer and then click the ‘verify’ button to verify the ownership.

 

Additional Settings - Page title settings (version up to 5.0)

More settings can be used with combination of above setting to make google index the pages in more correct format in their search result.

profile.config
<PageTitleSettings> <DisplayPageTitle>true</DisplayPageTitle> <DisplayProductName>true</DisplayProductName> <DisplayProductIdentity>true</DisplayProductIdentity> </PageTitleSettings>

 

<DisplayPageTitle>true</DisplayPageTitle>

This will display default page title in page title.

<DisplayProductName>true</DisplayProductName>

This will display Product name in page title.

<DisplayProductIdentity>true</DisplayProductIdentity>

This will display product identity in page title

 Below is an example how above settings effect the search result.

 Product Name = High capacity harvester.

 Product Identity = 1234567890

 Default page title = Signifikant

Combination of these values appears as search title in google search result.

 

Google analytics settings

Follow these steps to configure Google Analytics:

  • Login to google analytics after registering with google analytics.

  • After login, select the website button.

  • Create an account for the website by filling the details.

  • Then click on the button at the bottom to get the tracking code after accepting the google analytics terms condition.

  • Once account is created for the site then a page will open with the tracking code.



  • Signifikant web-viewer is using ‘Global site tag’ method (there are other option too).

  • Every website will have different tracking Id. Copy the tracking Id from page for the website (marked in the red box)

  • Go to profile.config of the site in web-viewer and place the tracking Id as per below format under seo settings.

 

profile.config
<SeoSettings> <GoogleAnalyticsEnabled>true</GoogleAnalyticsEnabled> <GoogleAnalyticsId>UA-1094452631-1</GoogleAnalyticsId> </SeoSettings>

 

Attribute

Description

Attribute

Description

GoogleAnalyticsEnabled

By setting to true google anyaltics function is enabled.

GoogleAnalyticsId

This contains the Tracking code given by the Google.

  • Restart the web-viewer to load the new profile.config.

  • After few hours login to google analytics ( google takes times to be up and running after validating the site) and same time access Signifikant web-viewer.

  • In google analytics click on the ‘real-time’ menu and select overview to see the active users and active pages and locations.




Other analytics tools

A custom js file may be useful when connecting other analytics tools.