Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Scroll Depth Tracking

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Level 6

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.

1812156_pastedImage_0.png

1812157_pastedImage_1.png

1812191_pastedImage_2.png

View solution in original post

24 Replies

Avatar

Level 1

For this you need to add Extension name "Common Analytics Plugins" in Adobe Launch. The same way you add Adobe Analytics. Once you add this you can use any of the plugins listed there. In the configuration section of "Common Analytics Plugins", you can find the instruction that how to use these plugins. You actually need to create a new rule that fires on the library loaded event. If you have access to Launch try this on your own.

Avatar

Level 5

Hi Srijith Kumar,

To track the page percentage view need to use the "getPercentPageViewed" plugin to measures a visitor's scroll activity to see how much of a page the visitor viewed before moving on to another page.

Also, you can get the plugin from below link and ref; sample codes we used for our project

getPercentPageViewed

/* ******** prop38 & eVar38 Initial - Highest percentage page viewed (previous Page) ******** */

if(s.pageName) s.getPercentPageViewed();

if(s._ppvPreviousPage)

{

s.eVar38 = s._ppvHighestPercentViewed + "|" + s._ppvInitialPercentViewed;

}

if (s.eVar38) {

s.prop38 = 'D=v38';

}

Hope this helps

Thanks,

Balaji

Avatar

Level 1

s.prop38 = 'D=v38'; Can you please tell me what  'D=v38'; mean

Avatar

Level 1

D=v38 means duplicate evar38.

so:

s.prop38 = 'D=v38';

means

s.prop38 = eVar38

Avatar

Level 1

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?

Avatar

Level 5

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

1796444_pastedImage_0.png

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

1796445_pastedImage_3.png

Please try the above and let me know

Thanks,

Balaji

Avatar

Level 2

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

Avatar

Level 2

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.

Avatar

Level 6

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

Avatar

Level 2

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';

}

Avatar

Level 6

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

Avatar

Level 1

Hi,

Thanks for explaining it. I have implemented the same with Adobe Analytic Extension in Launch. Do I need to create a separate Rule after this or this will work globally with all the pages?

Regards,

Avatar

Level 6

HI Vinay,

Its not mandatory to set rule to work globally with all pages. Its all depend on when you want to fire this.

Regards,

Kumararaja K

Avatar

Level 6

Dear Srijith,

Please mark correct if you got the information you needed to close out from unanswered.

Regards,

Kumararaja K

Avatar

Level 2

Hi Kumararajak

Thanks for the solution provided it worked. Do you know how do we integrate google marketing platform to adobe. Below are the things we need to track after integrating any help will be appreciated.

Track Advertising Campaign Impressions Served

Track Advertising Campaign Impressions Clicked

Track Information From Paid Advertising Platforms (Google Marketing Platform)

Track Information From The Trade Desk

Track Information From Affiliates (Nerdwallet, Etc.)

Track Information From Paid Social (Linkedin, Facebook, Twitter)

Track Costs From Advertising Integrations

Avatar

Level 6

Dear Srijith,

Confiugre Last touch marketing channel,

Also, Try Adverstising analytics.

1805237_pastedImage_0.png

Regards,

Kumararaja K