How Do I Set Up 'In Page' Links to Anchors?

For multi-section landing pages it is often useful to put in HTML anchors links to navigate through the page. This combined with a fixed menu block that will allow the user to navigate the single page. The menu blocks are available in the Small Business Marketer accounts. 


Step 1: Define your anchors:

Edit the source code of a content block 'near' the section of the page you want the page to scroll to when a button is clicked. For example, right above your form. 


Step 2: Define your links that point at the anchor

On a keyword, set the link to your target.



Or button


Step 3: Make it smooth

Another trick is to use this code in the page script to get the page to do smooth scrolling while moving between page segments.

$(function(){
  AD.ready(function(){
    AD.smooth_scroll();
  });
});
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.