META tags in donations and actions?

Options

Just want to confirm really that I'm not overlooking something. I'd love to be able to set META tags and a image for facebook into donation forms and action pages. But this does not seem to be possible. True or false? If false, please let me know how!

Tagged:

Comments

  • You can add meta tags to the head of any page using the U5 tag like so (using the FaceBook Like meta tags as an example):

    ]

    So on a donation form, for example, you could add this in an HTML Caption. On an action alert, you could just drop it into the HTML area of the Take Action page.

  • Noah Cooper:

    You can add meta tags to the head of any page using the U5 tag like so (using the FaceBook Like meta tags as an example):

    ]

    So on a donation form, for example, you could add this in an HTML Caption. On an action alert, you could just drop it into the HTML area of the Take Action page.

    Fantastic. Thanks Noah.

  • Noah Cooper:

    You can add meta tags to the head of any page using the U5 tag like so (using the FaceBook Like meta tags as an example):

    ]

    So on a donation form, for example, you could add this in an HTML Caption. On an action alert, you could just drop it into the HTML area of the Take Action page.

    Just as an FYI to everyone -- this also works for <link /> tags

  • Noah Cooper:

    You can add meta tags to the head of any page using the U5 tag like so (using the FaceBook Like meta tags as an example):

    ]

    So on a donation form, for example, you could add this in an HTML Caption. On an action alert, you could just drop it into the HTML area of the Take Action page.

    U5 tags don't seem to be working on Pagebuilder pages.

    its this a feature or a bug?

  • Nick Reid:

    U5 tags don't seem to be working on Pagebuilder pages.

    its this a feature or a bug?

    There's no need to use U5 in PageBuilder. Unlike other applications, you have access to the head in PageBuilder. If you Edit Attributes on the PageBuilder page, you'll see you can add meta tags.

  • Noah Cooper:

    There's no need to use U5 in PageBuilder. Unlike other applications, you have access to the head in PageBuilder. If you Edit Attributes on the PageBuilder page, you'll see you can add meta tags.

    so, yes, that is right and it makes sense, but . . . I would like to be able to set conditional meta content for a pagebuilder page

    For example, I am trying to set up a Facebook email share link and set the body content (content description (not the title))

    Since the meta description tag is set to "" (or some other string) FB won't go and grab the messages content (FB would go grab content before last week (something changed either at convio or FB, and i can't tell which)

    the U5 tag won't work in the message viewer . . .

    i really feel that setting up a custom pagebuilder page for each message is overkill, but if i could make a shell and pass the message ID through the URL, it would work great

    I know its possibly to hack up exactly what i want w/fb connect, but that will need javascript + requires users to login @ our site instead of landing at fb and just clicking share

    ~~so this is an edge case, and may be under a random discussion . . but it is what i am trying to do . .

  • Noah Cooper:

    You can add meta tags to the head of any page using the U5 tag like so (using the FaceBook Like meta tags as an example):

    ]

    So on a donation form, for example, you could add this in an HTML Caption. On an action alert, you could just drop it into the HTML area of the Take Action page.

    Hey Noah,

    So I don't know if something has changed, or if this is what was happening earlier, but the U5 tag is not quite working correctly.

    Here's an example page.

    https://secure2.convio.net/sierra/site/Advocacy?pagename=homepage&page=UserAction&id=4617

    If you look at view source there are two description META tags appearing in the HEAD tag:


    <meta name="Keywords" content=" " />
    <meta name="Description" content="" />

    <meta name="description" content="Senator Merkley's bill to reduce oil dependence moves us towards our ultimate goal--an oil-free economy that works for America's middle class. Urge the Senate to incorporate this proposal into the climate and energy package." />

    We're not sure where the first description or the keywords tag are coming from. Facebook is no longer picking up the description, and is looking for things in our text (and randomly picking up text about mobile phone options, for no reason that I can fathom).

    Is there a way to get rid of the blank keywords and description?

    Alternately, is there a way that the description enters when you create an action, gets added to the description tag automatically? Seems odd that it is not there to begin with.

    Thanks,

    Adrian

  • Adrian Cotter:

    Hey Noah,

    So I don't know if something has changed, or if this is what was happening earlier, but the U5 tag is not quite working correctly.

    Here's an example page.

    https://secure2.convio.net/sierra/site/Advocacy?pagename=homepage&page=UserAction&id=4617

    If you look at view source there are two description META tags appearing in the HEAD tag:


    <meta name="Keywords" content=" " />
    <meta name="Description" content="" />

    <meta name="description" content="Senator Merkley's bill to reduce oil dependence moves us towards our ultimate goal--an oil-free economy that works for America's middle class. Urge the Senate to incorporate this proposal into the climate and energy package." />

    We're not sure where the first description or the keywords tag are coming from. Facebook is no longer picking up the description, and is looking for things in our text (and randomly picking up text about mobile phone options, for no reason that I can fathom).

    Is there a way to get rid of the blank keywords and description?

    Alternately, is there a way that the description enters when you create an action, gets added to the description tag automatically? Seems odd that it is not there to begin with.

    Thanks,

    Adrian

    In addition to the aforementioned ], U5 can also be used as follows:


    ]
    ]
    ]



    Try using ] and see if that helps.

  • Noah Cooper:

    In addition to the aforementioned ], U5 can also be used as follows:


    ]
    ]
    ]



    Try using ] and see if that helps.

    Thanks. That does indeed do the trick.

    But was there something that changed, why did this work for a while, and then not?

    For the the new facebook properties would this also work?

    ]

  • Adrian Cotter:

    Thanks. That does indeed do the trick.

    But was there something that changed, why did this work for a while, and then not?

    For the the new facebook properties would this also work?

    ]

    If something changed, it would've been on the Facebook side, which would not be surprising given their track record of frequent unanticipated changes.

  • Adrian Cotter:

    Thanks. That does indeed do the trick.

    But was there something that changed, why did this work for a while, and then not?

    For the the new facebook properties would this also work?

    ]

    I'm kinda bringng this thread back from the dead, but I was just trying this out, and noticed that the namespace qualified metatags ( "og:...", "fb:..." ) for facebook only seem to work with the ] syntax, and not the ] one. Just an FYI for anyone else trying this.

  • Andrew Beyer:

    I'm kinda bringng this thread back from the dead, but I was just trying this out, and noticed that the namespace qualified metatags ( "og:...", "fb:..." ) for facebook only seem to work with the ] syntax, and not the ] one. Just an FYI for anyone else trying this.

    what about with a CMS page... is there a way to specify meta data per page without editing the wrapper and therefore editing all pages that use that wrapper?

    I know you can set the title and description in the page properties, but I want to edit the image that's shared on Facebook by inserting this tag:

    <link rel="image_src" href="http://www.humanesociety.org/assets/images/animals/pepsi_refresh_puppy.jpeg" />

    right now our wrapper contains this instead, so all pages share our logo:


    <link rel="image_src" href="http://www.humanesociety.org/assets/images/icons/humane_society_logo.png" />

    Thanks!

  • Carie Lewis:

    what about with a CMS page... is there a way to specify meta data per page without editing the wrapper and therefore editing all pages that use that wrapper?

    I know you can set the title and description in the page properties, but I want to edit the image that's shared on Facebook by inserting this tag:

    <link rel="image_src" href="http://www.humanesociety.org/assets/images/animals/pepsi_refresh_puppy.jpeg" />

    right now our wrapper contains this instead, so all pages share our logo:


    <link rel="image_src" href="http://www.humanesociety.org/assets/images/icons/humane_society_logo.png" />

    Thanks!

    Carie,

    I'd say your best bet is to add the Facebook thumbnail image as a new field on the content type. Then in your wrapper you can pull in that field, with a conditional to test if it's null in which case you'd use http://www.humanesociety.org/assets/images/icons/humane_society_logo.png.

Categories