Highlighted

getPercentagePageViewed plug-in for Adobe

Rookie Contributor
I am wanting to implement scroll tracking so we can see how users interact with each page and whether they scroll through the entire page, etc. I found the below about implementation for Adobe: http://blogs.adobe.com/digitalmarketing/analytics/summit-topic-2-getpercentpageviewed-plug-in/ Can you confirm that the plug-ins provided in the blog post are accurate and I can simply implement this through an extension or are there missing pieces? The article is kind of old... Thanks,
3 REPLIES 3
Highlighted

getPercentagePageViewed plug-in for Adobe

Employee Emeritus
Nathan, That is a really good article explaining the use case for this plugin. Here is an article directly from Adobe's help center with the code and another explanation: http://microsite.omniture.com/t2/help/en_US/sc/implement/getPercentPageViewed.html Don't forget to use the getPreviousValue plugin as well. Without it the getPercentPageViewed plugin in pretty useless: http://microsite.omniture.com/t2/help/en_US/sc/implement/getPreviousValue.html NOTE: Don't forget the utility plugins like s.split as shown in the getPreviousValue page. There are most likely two JavaScript Code Extensions already setup in your profile to handle these, one Extension to hold the actual plugin code and another to hold the doPlugins function. The minified plugin code would go into the Plugins and Modules Extension and can just be added to the bottom of the list. The code that calls the functions would go in the other Extension within the doPlugins function. There are a couple different ways to implement this, but all the information needed is given within the examples. Hope this helps!

getPercentagePageViewed plug-in for Adobe

Rookie Contributor
Hi Jared, Thank you for the insight. This worked perfectly!
Highlighted

getPercentagePageViewed plug-in for Adobe

Bronze Contributor
Bronze Contributor
Hi Is there something similar in place for Google Analytics - I can see examples where an event is fired at 25%, 50% and 75% but we'd ideally have the scroll depth and the previous page name passed once the next page loads?