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

SOLVED

Scroll Depth Tracking

srijithkumarkb
Level 2
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
kumararajak
Correct answer by
Level 6
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

22 Replies
vinayp20414773
Level 1
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.

Balaji_V
Level 5
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

vinayp20414773
Level 1
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?

Balaji_V
Level 5
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

srijithkumarkb
Level 2
Level 2

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

srijithkumarkb
Level 2
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.

kumararajak
Level 6
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

srijithkumarkb
Level 2
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';

}

kumararajak
Level 6
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

vinayp20414773
Level 1
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,

kumararajak
Level 6
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

kumararajak
Level 6
Level 6

Dear Srijith,

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

Regards,

Kumararaja K

srijithkumarkb
Level 2
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

kumararajak
Level 6
Level 6

Dear Srijith,

Confiugre Last touch marketing channel,

Also, Try Adverstising analytics.

1805237_pastedImage_0.png

Regards,

Kumararaja K

srijithkumarkb
Level 2
Level 2

Hi Kumararajak,

How do I enable activity map for all link clicks on all webpages. I am using adobe launch for the implementation.

please let me know the steps on tracking the link clicks using this feature

kumararajak
Correct answer by
Level 6
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