Expand my Community achievements bar.

SOLVED

Does "sequential segment" applicable to all "prop"?

Avatar

Level 8
Level 8

Dear All Experts,

I bring another question today.

We are maintainning a global website, now, we would like to understand:

How many users and where user "change" the language during their visit.

There is a prop named: LanguageCode.

Usually, there is only 1 way user can change the language: click on the right hand side "language" icon, then select preferred language. (by directly type & change the URL will not change the language).

E.g.: to know: how many users change the language to "TH" in their visit:

To understand this, I create following 2 segments:

Segment1. At "Hits" Level, Acivity Map Link = Thailand (It's the value of the link if user would like to change the language)

Segment2. At "Visit" Level, "Language Code" does not equal to "TH" THEN "Language Code" equals to "TH".

1701169_pastedImage_7.png

I assume the 2 counts will be very close, but the result is not.

1701179_pastedImage_8.png

It seems to me only 44 visits changed the language by clicking the "language" icon and links, other 831 visits changed the language by other ways.

So, I am confused on the reason and doubt the sequential segment2. (I even applied "within 2 hits" in Sequential Segment2, similar result)

Then I tried to find at which page, user changed the language.

I applied the Segment2 on "Flow" in Adobe Workspace, use "Page URL" dimension.

But after seeing almost all the paths, I cannot find any URL changes match the segment2., I can see all the URL in every step is: http://******/th/th/*****

Which means, there is no LanguageCode change.

I confirm the "path" is enabled to "Page URL".

A sample of "language code" does not change.

1701180_pastedImage_9.png

So, is there anything wrong of my segment?

Whether the LanguageCode (prop) can be used under "Sequential Segment"?

then, to answer the question, how to know:

How many users and where user "change" the language during their visit.

Please advise.

Thank you.

H

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

if it is important, could you ise the "getpreviouspagename" plugin and change it to capture the language?

View solution in original post

9 Replies

Avatar

Level 8
Level 8

one possible reason I found is:

it seems then "entry" will be also taken as match the segment2?

I set another segment3,

Visit Level

Visit Depth is less than 3

AND

     Visit container

     LanguageCode does not equal to TH

     THEN

     LanguageCode equals to TH

I can still see counts.

e.g.

http://***/th/th/home

     http://***/th/th/support

So, maybe an entry from external site will also be taken as "language code from none to TH", so match the segment?!

Avatar

Community Advisor

I would go with solution of segment 2 and try to find a "better" way.

but first, why not activity map? because there are users with "language plugin/translator" and this will change the text of the link/button...

remark on the "flow chart" what is your setting? did you change to "visit" container behind the gear icon?

now to your segment2: I would do it the same way and would expect to have the right number. and it should not match any patterns "not set"=>"th" because in a prop the "not set" is ignored.

but there might be reasons where the prop receives other values, even the user has still "th" as language? maybe a tracking bug?

what you could try (but is a little work) is add a classification to the "page URL" and classify page URLs by language (regex extract pageURL by language codes). having the classified value allows further investigation or segmentation...

Avatar

Level 8
Level 8

Hi ursboller,

thanks for your reply, you are always prompt and helpful.

About Activity Map, your advice is possible, but the problem is, when I see the "activity map link" under segment2, I see a lot "NONE".

the flow chart, yes, I change to "Visit" container.

It's good to know "not set" > "th" is ignored.

I checked using omnibug on the pages plenty times on all types of pages, it seems the prop can only receive "TH", but no other values.

Now I understand Segment2 seemed to given the right counts.

But still have no idea on: on which page user changed the language?

Maybe your suggestion:

would give all the URLs under "TH" language?

But still not possible to know on which page user changed the language, is it?

e.g.

http://****/home/us/en/

     THEN, Click Language Bar > Thailand

          URL: http://****/home/us/th/

so, on the 1st URL, user changed the language to TH.

Why I would like to know on which page user change the language, is because:

1. it does help us to understand the translation quality and the system setting;

2. on segment2, I can see most "Entry Page URL" is "http://****/th/th" which I cannot understand, if a user entered from Thailand language page, why s/he needs to change the language to another one then change back again. And in "flow" or path, I cannot really find where the change is happened. So, I doubt the segment2 is correct or not.

If segment2 is incorrect, even I can get the page on 1., I will doubt it is correct or not again.

Please advise further.

Thank you.

H

Avatar

Level 8
Level 8

Ursboller, All Experts,

I also tried this way which just came to my mind:

I create another report (right hand side one).

Breakdown "language code (prop)" by "Previous Page" (prop), since we record all "Previous Page" as well.

Then, filter by "none of _th" (format is: countrycode_languagecode)

Then I can find it all Previous page which languagecode is not TH.

I assume that's the counts of change from None-TH to TH.

BUT, the count is only about 500, even I add all "low-traffic", then will be only 800.

But from left-hand side image, there would be over 1000 visits. (segment2 is applied to the counts in red box).

1701929_pastedImage_0.png

Another problem is:

I even can see counts on non-TH then TH under "Previous Page" with language code:*_th

So I am doubting the correct or not of the segment2

1701930_pastedImage_0.png

Please share your idea on this.

Thanks.

H

Avatar

Community Advisor

I don't think you will get your answer with a visit segment because it returns all hits in that visit. maybe a sequential segment could be a solution, but can't think of any "quick solution".

of you want to see the page where user has ganged the language, a classification want help either. it would just help to see how many did the change, but not answer "where" the language selector was used.

one idea: do you have a special "region" for the language selector? on some pages we give a "id" to the tag we are interested (best on the a-tag) which will be taken by the activity map as "region". check if you change the language, what is in the "activity map region"? if you are lucky, the selector has already an unique "region" which would help to see the pages ("activity map page" on the same hit). or you can talk to devs to give the selector an "id"...

Avatar

Level 8
Level 8

Thanks Ursboller, I used to try "Activity Map Region" and "Link" as well. Very small counts.

That's why I tried latter methods.

I think the best way is to trigger an "event" for language change which need tagging and IT team's help.

Anyway, thanks again.

Avatar

Correct answer by
Community Advisor

if it is important, could you ise the "getpreviouspagename" plugin and change it to capture the language?

Avatar

Level 8
Level 8

Thank you ursboller for this idea! I will check with the tagging team.

Avatar

Community Advisor

if you talk to devs, let them implement a "language change" directly