Scroll Depth Tracking | Community
Skip to main content
srijithkumarkb
New Participant
July 19, 2019
Solved

Scroll Depth Tracking

  • July 19, 2019
  • 22 replies
  • 39835 views

I am trying to track percent page viewed on all pages using Adobe Launch. I am new to Adobe so could any one help me on how we have to implement this using Launch.Please help me with the steps on how to achieve this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kumararajak

Hi Srjith,

First, Update Your AppMeasurement (Javascript) Code to v1.6 (or higher) then

  1. Log in to Adobe Analytics and navigate to Analytics > [Admin > Report Suites > # > Edit Settings > Activity Map] > Activity Map Reporting .
  2. Activity Map collects the link data in Activity Map reports. For the activation to happen, you must first activate the variables by clicking Enable Activity Map Reports.This step adds all the Analytics dimensions that you need to collect data.
  3. After about an hour, check the Activity Map Page report, which shows all the pages where users clicked on a link.

22 replies

kumararajak
New Participant
July 24, 2019

Hi Srijith,

Please follow the steps below

Place the below code in the Plugin section

/* ******** Get page load plugins - start ******** */

function s_getLoadTime(){if(!window.s_loadT){var b=new Date().getTime(),o=window.performance?performance.timing:0,a=o?o.requestStart:window.inHeadTS||0;s_loadT=a?Math.round((b-a)/100):''}return s_loadT}

/* ******** Get page load plugins - end ******** */

Custom code

s.eVar01=s.prop01=s_getLoadTime();

if(s_getLoadTime())s.events=s.apl(s.events,'event01='+s_getLoadTime(),',',1);

I just provided 01 for sample, you please check and assign the number of the evar/prop and event as per your need/avaialability

Hope this helps.

Regards,

Kumararaja K

srijithkumarkb
New Participant
July 24, 2019

Hi Kumararaja,

Thanks for sending additional info regarding the % pageviewed, To capture the page load time can u give an expression how to capture the values in and evar or an event.

How do we declare the values that need to be captured in an eVar or would it be an event. (please provide an example)

****This is the custom script*****

function getPageLoadTime() {

if (typeof(performance) !== 'undefined' && typeof(performance.timing) == 'object') {

var timing = performance.timing;

// fall back to less accurate milestones

var startTime = performance.timing.redirectStart ||

performance.timing.fetchStart ||

performance.timing.requestStart;

var endTime = performance.timing.domContentLoadedEventEnd ||

performance.timing.domInteractive ||

performance.timing.domComplete ||

performance.timing.loadEventEnd;

if (startTime && endTime && (startTime < endTime)) {

return (endTime - startTime);

}

}

return 'data not available';

}

kumararajak
New Participant
July 23, 2019

Hi Srijith,

Custom code

Refer the below thread:

What parameter captures Page Load Time in Adobe Analytics ?

function getPageLoadTime() {

if (typeof(performance) !== 'undefined' && typeof(performance.timing) == 'object') {

var timing = performance.timing;

// fall back to less accurate milestones

var startTime = performance.timing.redirectStart ||

performance.timing.fetchStart ||

performance.timing.requestStart;

var endTime = performance.timing.domContentLoadedEventEnd ||

performance.timing.domInteractive ||

performance.timing.domComplete ||

performance.timing.loadEventEnd;

if (startTime && endTime && (startTime < endTime)) {

return (endTime - startTime);

}

}

return 'data not available';

}

Let me know if you need additional details

Regards,

Kumararaja K

srijithkumarkb
New Participant
July 23, 2019

Hi Just need one more help from you regarding Page load time tracking.

Can u guide me on how to achieve this using launch. I am new to launch any help would be appreciated.

kumararajak
New Participant
July 23, 2019
srijithkumarkb
New Participant
July 23, 2019

Thank U so much

srijithkumarkb
New Participant
July 23, 2019

Thanks Very much will try and let u know if I get stuck somewhere.

kumararajak
New Participant
July 23, 2019

Dear Srijith,

Please find the details here

How to configure % of Page viewed in Launch

Regards,

Kumararaja K

Balaji_V
New Participant
July 22, 2019

Yes, through the custom code in Launch analytics extension (Ref; Screenshot)

It should be in do plugin function (Ref; Screenshot)

Please try the above and let me know

Thanks,

Balaji

vinayp20414773
New Participant
July 22, 2019

Hi Balaji_V,

Have  you implemented via Adobe Launch. I noticed that "Common Analytics Plugin" extension still does not have "getPercentPageViewed" plugin listed there. Are you using it via custom code in Analytics extension?