getTags()
Retrieves all tags for Items in the current Activity.
You would want to use this method so that you can perform advanced content debugging your test environments, for example.
Note
getTags()
requires the retrieve_tags
initialization option to be set to true
.
Examples
// Standard usage
var tags = itemsApp.getTags();
console.log(tags);
// Return tags with TagsV0 structure
var tagsV0 = itemsApp.getTags(true);
console.log(tagsV0);
Arguments
Return value
mixedSee Understanding Tag Formats for Content Creation and Filtering for more information on the various Tag formats.