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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

PageViewTracking configuration behind a dispatcher

Avatar

Level 4

Hi,

I want to configure the page view tracking feature, as explained here:

http://helpx.adobe.com/cq/kb/PageViewTracking.html

But I do not know to which server I must send the request.  We have an architecture of 1 author server replicating to 2 publish instances, each one of those behind a dispatcher.

Thanks for your help, I'm a bit confused on how this feature works.

JS

1 Accepted Solution

Avatar

Correct answer by
Level 5

One more thing you can do is, Let impression information to be collected on publish instance as usual and then reverse replicate it to author. Impression informations are stored under /var/statistics/pages. You can create a launcher for reverse replication for modification event under this node.

Or to be simple, use any analytics service (GA or something :))

Yogesh

View solution in original post

6 Replies

Avatar

Correct answer by
Level 5

One more thing you can do is, Let impression information to be collected on publish instance as usual and then reverse replicate it to author. Impression informations are stored under /var/statistics/pages. You can create a launcher for reverse replication for modification event under this node.

Or to be simple, use any analytics service (GA or something :))

Yogesh

Avatar

Level 4

Yes but as you might have guessed already, typically in production author server is in a non-DMZ, and not accessible from the user's browser issuing the request.

So what's the trick here?

Avatar

Employee

Normally you need to configure Day CQ WCM Page Statistics to be pointed to an author CQ instance (default is http://localhost:4502) therefore you can see stat in a siteadmin under impressions column (shows the activity on a page in number of hits.)

Avatar

Level 5

Yogesh,

Do you ever run into issues where reverse replicating Impressions in this manner causes data loss for high-traffic sites? It seems that, even if your reverse replication processes run every few seconds, your three instances (two publish) may step on each other a bit. Just curious.

By the way, the better approach is definitely to use a dedicated web analytics platform for measurement. Though there is some use in having the up-to-date page impressions in context within AEM.

Avatar

Level 4

You know what? that's exactly what we're gonna do! 😉

[quote:postID=forum__pjci-hi_i_want_tocon__moe5-one_more_thingyouc]

Or to be simple, use any analytics service (GA or something :))

[/quote]

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now