Tag Object


The Tags object represents the information for blog tags.

Properties
idstringRead-onlyformat GUID

Tag ID.


labelstringmaxLength 100

Tag label.

A blog can't have two tags with the same label.


slugstringmaxLength 100

Part of a tag's URL that refers to a specific tag.

For example, 'https:/example.com/tags/{my-tag-slug}'


createdDatestringRead-onlyformat date-time

Date the tag was created.


updatedDatestringRead-onlyformat date-time

Date the tag was last updated.


postCountintegerRead-onlyminimum 0

Number of posts with this tag. Includes unpublished draft posts.


urlUrlRead-only

Tag URL.

The url directs you to a page that lists every post with the specified tag.


publishedPostCountintegerRead-onlyminimum 0

Number of published posts with this tag.


translationIdstringRead-onlyformat GUID

ID of the tag's translations when Wix Multilingual is installed on a site.

All translations of a single tag share the same translationId.


languagestringimmutableformat LANGUAGE_TAG

Tag language.

2-or-4-letter language code in IETF BCP 47 language tag format.

Did this help?