h3_html = ‘
cta = ‘
atext = ‘
scdetails = scheader.getElementsByClassName( ‘scdetails’ );
sappendHtml( scdetails, h3_html );
sappendHtml( scdetails, atext );
sappendHtml( scdetails, cta );
sappendHtml( scheader, “http://www.searchenginejournal.com/” );
sc_logo = scheader.getElementsByClassName( ‘sc-logo’ );
logo_html = ‘‘;
sappendHtml( sc_logo, logo_html );
sappendHtml( scheader, ‘
__gaTracker(‘create’, ‘UA-1465708-12’, ‘auto’, ‘tkTracker’);
__gaTracker(‘tkTracker.set’, ‘dimension1’, window.location.href );
__gaTracker(‘tkTracker.set’, ‘dimension2’, ‘digital-marketing-tools’ );
__gaTracker(‘tkTracker.set’, ‘contentGroup1’, ‘digital-marketing-tools’ );
__gaTracker(‘tkTracker.send’, ‘hitType’: ‘pageview’, ‘page’: cat_head_params.logo_url, ‘title’: cat_head_params.sponsor.headline, ‘sessionControl’: ‘start’ );
slinks = scheader.getElementsByTagName( “a” );
sadd_event( slinks, ‘click’, spons_track );
} // endif cat_head_params.sponsor_logo
The Accelerated Mobile Pages project has announced a variety of new features coming soon to AMP pages.
Many of the upcoming features are currently supported by regular web pages.
That means site owners will be able to create equivalent AMP pages that more closely resemble the original web page.
Here is an overview of some of the new features on the way.
New Features Coming Soon to AMP Pages
Video docking allows users to watch a video as they scroll through an article.
A video will appear at the top when a user first lands on the page. As they scroll down the page the video will “dock” itself in the bottom corner of the page.
This feature is commonplace in news websites when an article has an accompanying piece of video footage.
Infinite Scroll for Page Elements
AMP pages already support infinite scroll for documents, and the same feature will soon be available for other page elements in a list.
This would allow users to endlessly scroll list elements like search results and product cards.
This feature will soon help users fill out forms more efficiently by automatically adding formattings such as spaces and interstitial characters, which can be specified by developers.
Video Player Enhancements
The AMP video player is being enhanced with new features and bug fixes including adding missing mute/unmute buttons, fixing hidden controls while playing, and the ability to play videos on loop.
AMP pages will soon have support for sticky ads in desktop when fixed position on the left or right rail of the page
Subscribe to SEJ
Get our weekly newsletter from SEJ’s Founder Loren Baker about the latest news in the industry!