Attributing tags to copy in Marketo

Anonymous
Not applicable

Attributing tags to copy in Marketo

We are currently building a landing page for our client, and it will have a filter functionality to allow users to search for specific content.

We are having difficulty with attributing tags to the content, to allow them to be filtered.

We essentially want to our page to have this functionality - WPC 2016 - Sessions

Does anyone know how to implement and attribute/attach tags to specific words, which will allow for filtering?

Many thanks in advance, Julie

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Attributing tags to copy in Marketo

"attributing tags to content" isn't the way I'd phrase it, but it sounds like you want to tag DOM content with keywords for single-page filtering.

This could be accomplished in many ways, but the simplest is to use an HTML data- attribute (like <div data-keywords="cloud database">) on your items.  This allows you to use simple CSS rules to hide/show content.  Any web developer should know how to do this.

There's nothing specific to Marketo here.  It's basic single-page HTML/JS stuff -- Marketo LPs can do anything a single HTML page can, with no limitations.

Anonymous
Not applicable

Re: Attributing tags to copy in Marketo

Thanks so much Sanford, most helpful!