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

getpageloadtime - Common analytics Plugin

Avatar

Avatar
Validate 1
Level 2
Jayakrish
Level 2

Likes

6 likes

Total Posts

67 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
Jayakrish
Level 2

Likes

6 likes

Total Posts

67 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 1
View profile
Jayakrish
Level 2

30-04-2021

Hi Team,

I have been trying to store the previous page value and time that previous page took to load in separate variable by using the common analytics plugin extension. I have used the below approach as well as other method to store the value. However, the value of load time and previous page name is not capturing as expected from my tried approaches. 

Can anyone let me know the steps that is followed to implement this variables if you have done it successfully. Other approaches are also welcome. Please let me know if any.

Set Variables:
********************************

if(s.pageName) s.getPageLoadTime();
if(s._pltPreviousPage)
{
s.linkTrackEvents = "XXX";
s.linkTrackVars = "XXXX";
s.events = "XX";
s.propxx = s._pltLoadTime;
s.propxx = s._pltPreviousPage;
s.eVarxx = s._pltPreviousPage;
s.events = "eventxx=" + s._pltLoadTime;
s.clearVars();
}
***********************************

Jayakrish_0-1619795666804.png

 

 

 

 

 

Thank you,

Jay.

View Entire Topic

Avatar

Avatar
Springboard
MVP
yuhuisg
MVP

Likes

146 likes

Total Posts

476 posts

Correct Reply

90 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Establish
Contributor
View profile

Avatar
Springboard
MVP
yuhuisg
MVP

Likes

146 likes

Total Posts

476 posts

Correct Reply

90 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Establish
Contributor
View profile
yuhuisg
MVP

01-05-2021

Instead of running this in a Rule action, try running this inside the Adobe Analytics extension's custom code. That location also probably makes the most sense because this plugin should be called when firing every pageview beacon.