Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Analytics on authoring environment

Avatar

Avatar
Validate 1
Level 2
perfecci0nista
Level 2

Likes

6 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
perfecci0nista
Level 2

Likes

6 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
perfecci0nista
Level 2

18-06-2020

Has anybody tried implementing Google analytics on authoring environment itself. Yes, sounds crazy. However as aem OOTB doesn't provide any information related to concurrent users and active logged in users, pages authored most etc.., thought why not implement GA on authoring environment. 

 

Any thoughts on how to implement.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Level 6
antoniom5495929
Level 6

Likes

90 likes

Total Posts

212 posts

Correct Reply

39 solutions
Top badges earned
Establish
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Establish
Level 6
antoniom5495929
Level 6

Likes

90 likes

Total Posts

212 posts

Correct Reply

39 solutions
Top badges earned
Establish
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
antoniom5495929
Level 6

19-06-2020

Hi @perfecci0nista ,

I'm agree with the colleagues which suggest you an other way to do this.

It depends on the version that you are using, but e.g. in 6.3 you can use the out of the box User Report (etc/reports/userreport) in order to get part of this information.

 

Anyway, if you want to get data by using GTM I think that you just only need to identify the call that need to be tracked (e.g. j_security_check for login, /editor.html for editing, and so on) and ask to the GTM team to track this. From your side you just only need to extend the cq.authoring clientlib in order to load the GTM scripts.

Mind that this could cause some performance issues in author, and my suggestion is to evaluate if it's something really necessary since (as already discussed) you can get this information also from report and logs.

 

Thanks,

Antonio 

Answers (2)

Answers (2)

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

382 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

382 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

22-06-2020

For data related to logged in users , you could simply fetch it from <host>:<port>/system/console/tokenmgr

 

For Page audits, Its stored under "/var/audit/com.day.cq.wcm.core.page/content/we-retail". You can query for events such as "pageModified" Or "pageDeleted" Or "pageAdded". The primary type of the node will be "

cq:AuditEvent

"

Avatar

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

130 likes

Total Posts

233 posts

Correct Reply

38 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

130 likes

Total Posts

233 posts

Correct Reply

38 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
Singaiah_Chintalapudi
MVP

18-06-2020

You can get most of this info from the logs i.e. access.log and audit.log. If you have SSO enabled you can also get most of this info from those logs as well eg: Okta logs.