Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How Do AEM Tags Appear in Final HTML Content

Avatar

Level 3

Hi there.

Full disclaimer - I am only semi-literate in AEM. The rest of the Experience Cloud?  Pretty solid.  But AEM is a different beast.

In a help article about AEM tags, I read this:

...tags applied as page properties will automatically show up in the metatags of the page ...

What <meta> tag name will these show up under?  Does it truly happen automatically, or does something need to be added to the page template to get it written to the final content?

We are investigating using the tags applied in AEM as input to Target recommendations for categorization.  I figure if they can end up as a <meta> tag I can read that in a Launch data element and manipulate them as needed.

Thanks - I appreciate the assistance!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Yes, Any tags you add to a page it will be automatically added to the metadata keywords property

Ex:

<meta name="keywords" content="Men"/>

Steps to follow:

1. Edit any page (Ex: http://localhost:<port>/editor.html/content/we-retail/us/en/men.html )

2. Open page properties

3. Add 'Tags"

4. Click on 'Save and Close'

5. Then view page as published (ex: http://localhost:<port>/content/we-retail/us/en/men.html?wcmmode=disabled )

6. View page source

You should find all the tags added in the metatag keywords property.

View solution in original post

3 Replies

Avatar

Level 10

FRom a JCR Perspective - tags are added as a node here when you apply a tag to an AEM page:

Tags1.png

You can also create a component that uses the Tag Manager to search for Tags.

Adobe Experience Manager Help | Developing HTL Components that search for Adobe Experience Manager 6...

See this general AEM Doc topic for more information about tags -- Using Tags

Avatar

Correct answer by
Community Advisor

Hi,

Yes, Any tags you add to a page it will be automatically added to the metadata keywords property

Ex:

<meta name="keywords" content="Men"/>

Steps to follow:

1. Edit any page (Ex: http://localhost:<port>/editor.html/content/we-retail/us/en/men.html )

2. Open page properties

3. Add 'Tags"

4. Click on 'Save and Close'

5. Then view page as published (ex: http://localhost:<port>/content/we-retail/us/en/men.html?wcmmode=disabled )

6. View page source

You should find all the tags added in the metatag keywords property.

Avatar

Level 10

Lokesh answer is correct - i confirmed the steps:

Tags2.png