Search code examples
google-analyticsgoogle-tag-manager

Google Tag Manager and property per language in Analytics


I have a multilanguage site and my plan is to track every language apart. Example:

domain.com

domain.com/en/

domain.com/de/

domain.com/fr/

For now, I have one GA Property and one GTM Container for the whole site. I was thinking of creating multiple Properties in GA for every language and one for all together. So that would look like this:

domain.com -> GA-1

domain.com/en/ -> GA2

domain.com/de/ -> GA3

domain.com/fr/ -> GA4

Now in GTM I would add to the container one Tag for each Property and create a trigger for each property. GA-1 trigger fires on all pages, GA-2 trigger fires on some page views that page path contains /en/, GA-3 trigger fires on some page views that page path contains /de/...

Is this the best practice and would this work like this? or is there another method to achieve this goal? Or is it enough to create some Views in GA and create some filters for each language?

The goal is to track every language in a different property so the starting point is always the language. Maybe there are also different conversions in the properties.


Solution

  • In this situation, the best practice is to only have a single GA property that tracks the whole site. If you then want to only report on the data from a specific section of your site (i.e. a specific language) then you would use GA views (and filters) to achieve this. You would filter based on the Page dimension (e.g. Page starts with /fr).

    There is no benefit to creating a property for each language except maybe to prevent you from going above the 10 million hits per property per month limit of the free version of GA. On the other hand, there is a benefit to tracking the entire site in a single property. The main benefit is that it allows you to perform cross-language analysis.