Inline anchors in an email

Options
I'm try to add inline anchors in the body (html content) of an email campaign message.  The idea is to allow users to quickly move to various sections of the email content.  The links are being re-written by the system for the click tracking functionality, so if I have a link:


<a href="#TESTANCHOR">Link Text</a>

it gets changed to

<a href="http://donate.cwf-fcf.org/site/#TESTANCHOR"></a>


and clicking on the link takes you to a page with the error " This address is not a functioning page on our site. "


Is there a way to turn off or over-ride the re-write functionality for inline anchor links?

Thanks, Andrew
Tagged:

Comments

  • Hi Andrew,


    There used to be a really great article about anchor tags on Campaign Monitor, but they re-did their blog section and its gone now.


    The problem is anchor tags don't work on all clients, the biggest being the Apple Mail app. I do have this working on Outlook 2013 and Outlook 365 though.


    I have:

    <a href="#cme" title="CME articles">online CME articles</a>


    going to:

    <a id="cme" name="cme" title="cme"></a> (which is placed right before the CME article section of my e-mail)


    You would think this issue would be across the board right?


    I hope this gets ya somewhere,


    Phil
  • Thanks Phil.  I'm using code similar to what you've listed but it isn't working for me in any clients.  Just to confirm, are you using: Luminate Online > Email > Email Campaigns?


    In your example, if I put this in the body of my message:

    <a href="#cme" title="CME articles">online CME articles</a>


    when it gets sent out the actual link in the email would change from #cme to http://donate.cwf-fcf.org/site/#cme and clicking it brings you to the error message.


    Here's a link to an email I'm testing now. 
    http://apps.cwf-fcf.org/temp/test.msg

    If you click on the "The Wild Gang" link near the top, here is the code that I used for it:

    <a href="#wildgang" title="The Wild Gang">The Wild Gang</a>

    and further down the page is this code:

    <a id="wildgame" name="wildgang" title="wildgang"></a>


     
  • Hey Andrew,


    Yes, we use Luminate Online > Email > Email Campaigns.


    Check this out:

    <a href="#wildgang" title="The Wild Gang">The Wild Gang</a>

    and further down the page is this code:

    <a id="wildgame" name="wildgang" title="wildgang"></a>


    Update the id to wildgang and it will work. ☺


    Thanks,


    Phil


     

Categories