Web analytic doesn't work in Kentico 12

Mr Who asked on May 5, 2021 06:48

Hello,

I've checked settings for web analytic (Settings -> Online marketing) and there is enabled, but none of the graphs show anything. I guess it worked before but at some point it stopped working. I don't know why because I've just joined to the project and I've never worked with web analytic before.

Could you help me figure out that could be the reason? Thank you

Correct Answer

Juraj Ondrus answered on May 5, 2021 08:37

I believe the issue is because web analytics module in Kentico 12 is for portal engine only. Sample screen shot. In MVC model, you need to use e.g. Google analytics and integrate their scripts.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Jake Kula answered on May 5, 2021 08:12

Sounds like maybe you don't have settings set for tracking certain things. This might help to check:

https://docs.xperience.io/k12sp/configuring-kentico/managing-sites/configuring-settings-for-sites/settings-on-line-marketing/settings-web-analytics

0 votesVote for this answer Mark as a Correct answer

Mr Who answered on May 5, 2021 08:30 (last edited on May 5, 2021 08:35)

Thank you Jake Kula for your answer, but all of the settings for web analytic is enabled. Is this enough for correct work of web analytic?

0 votesVote for this answer Mark as a Correct answer

Mr Who answered on May 5, 2021 08:59

Thank you Juraj Ondrus for your answer. Could you tell me please then in what case will I see changes there? Because it is look like that screen shot

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on May 5, 2021 10:37

Hi Mr Who,

As Juraj correctly pointed, Web Analytics module in Xperience 12 works only for Portal Engine websites. It doesn't work for MVC sites by design.

However, in Xperience 13 it should work for your MVC website, refer to the documentation here. So that you can consider upgrading your v12 solution to v13 to enable Web Analytics. Or use Google Analytics instead.

1 votesVote for this answer Mark as a Correct answer

Mr Who answered on May 5, 2021 10:51

Thank you so much Dmitry

0 votesVote for this answer Mark as a Correct answer

Mr Who answered on May 5, 2021 11:05

I still have a question about it guys :) In this case, why was web analytics added to cms if it doesn't work? For what? May be I'm not totally got it how it's work for Portal Engine idk.

Thank you

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on May 5, 2021 11:26

Web analytics module was part of the system for long time and it is working. But in Kentico 12 a new development model was introduced - MVC. However, the portal engine (web forms) development model evolved for more than 14 years and it was not possible to make all the features nad modules work in MVC within one release cycle. So, we made a priority list...as mentioned by Dmitry, the web analytics module was re-introduced in Kentico Xperience 13.

1 votesVote for this answer Mark as a Correct answer

Mr Who answered on May 5, 2021 11:35

Thank you for the great explanation!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.