This page short URL: qxf

Requirements

As seen on the previous page, you only need to have web property ID to get started. This ID is a short string that uniquely identify your web site in the eyes of Google Analytics. It will looks similar to this:

UA-12345678-1


As with most sh404SEF features, URL optimization must be enabled for the Analytics tracking snippet to be inserted into your pages


Enabling Google Analytics

Once you get your property id, open sh404SEF configuration, select the Analytics tab. You can then select your Google Analytics tracking type and paste in your property ID:

Minimal configuration for sh404SEF analytics

  • Enable data collection: Google Analytics standard accounts are called Universal. Alternatively, instead of using directly a Google Analytics tracking code, you can use another service from Google, Google Tags manager.

  • Web Property ID: this is where you should paste the id obtained from Google, and mentioned in Requirements above.

There are several more settings to enhance Analytics setup, but none is mandatory and default values are fine. You can however get more details on next page.

After you save configuration, sh404SEF will start inserting the Google Analytics tracking code inside your site pages. You can check it by displaying a page source code:

View analytics tracking code in page source


Always make sure at least one user group is selected in the Enable for groups option. If not, the tracking will never be displayed. The default value of Public means that tracking code will be inserted for all users.