Configuration Tips

Extended Google Analytics measuremet.


Identification and setting of goals is one of most important steps. There are a lot of manuals and tutorials on the website how to do this, e.g. on YouTube.

If you need to set up as a goal form submit and the URL does not change after submit, you can use changing of URL - route with additional condition.

It is recommended to appreciate your goals. If price is constant, you can set it in goal configuration. When every reach of a goal brings you different value, use e-commerce. You needn't be a e-shop, us an e-commerce also for hotel, booking or rental websites.

Set up site search

If your website use an internal search, be sure to remember to set it. In profile settings of your profile you need to set a "Do track site search" in segment "Site search settings".

It is necessary to set a URL parameter of query term - if a searched term is in URL as a parameter after question mark, (e.g. URL has format /search?q=some+searched+term), just enter this parameter. If not, you have to change a route, presumably by BaseRoute. If you use a Drupal or Wordpress, you can use a specific routes.

Furthermore, if possible, select an option "Strip query parameters out of URL". If you do not do this, every search adds a new record in Google Analytics pageview report and this is very confusing. The obstacle may be if the route without search parameter is the same as other route (eg. Wordpress and you do not use a WPSearch route - URL after search is /?q=term, after remove is only / - the same as homepage).

Exclude unnecessary parameters

If your web use a GET parameters in URL, which does not affect a sites, it is pointless to send them to Google Analytics. One page is then displayed as different records, this reduces clarity and obstacles an analysis.

Exclude unnecessary parameters you can in profile settings - field "Exclude URL Query Parameters". It is advisable to exclude also parameters automatically generated by the browser - i.e. send, send.x, send.y.

Set up filters

You should define at least two basic filters:

  • Exclude own visits - use predefined filter "exclude traffic from IP address that are equal to yours".
    Nastavení filtrů v Google Analytics - vyloučení návštěv pomocí IP
  • Include visits only from your domain - use "Custom filter", option "Include" where your hostname match a filter pattern. With this filter you protect your account if someone wanted to send false data into your profile.
    Nastavení filtrů v Google Analytics - zahrnutí návštěv z vlastní domény

It is also recommended to have one profile with no filters - in case of error you will not lose any data.

Integration with Google Webmaster tools

If you use Google Webmaster tools, you can link it with Google Analytics in "Property settings" (i.e. property settings, not profile settings). You will get information about the behavior of your visitors on Google search.

What to care of

  • Domain settings - if the domain is configured incorrectly, in the worst case can Google Analytics rewrite own cookies after each pageload. All pageviews would be displayed as a separate visit with one displayed page.
  • All pages must be tagged - tagged must be all pages where users are browsing. Otherwise, data will not be complete.
  • All traffic sources must be tagged by UTM parameters. The only exception are sources that are identified automatically.