Merge Tags

Mike Tinnes
Mike Tinnes
  • Updated

Merge tags allow for data to be dynamically injected into various places throughout the Revel Digital platform. We provide a list of text tags that can be placed in playlists and template module fields which then get substituted at runtime with their data based equivalents.

 

A good example of this functionality can be demonstrated with the template weather module. Create a template and add a weather zone. Double click on the zone and uncheck the 'Use Device Location' box. Now enter the following into the 'Location' field: *|DEVICE.LOCATION.POSTALCODE|*.

Postal_Code.png

This is functionally identical to 'Use Device Location'. When the template gets deployed to your player devices, the device postal code will be automatically substituted into the 'Location' field. This means each player will be displaying their own location-specific weather without having to customize multiple templates.

 

Merge tags can be placed in just about any place you might find them useful including marquee playlists and template modules (text area, weather, web, etc.).

RSS_Feed.png

You can use any number of merge tags in the same field and may also mix them in with other text. This functionality allows for more generic templates, simplified playlist management, and the ability to create more dynamic and engaging content

 

Variables

Global merge tag variables can also be defined in the device tags. Think of this as a custom merge tag. For example, if we add the tag City=Fargo,ND to a device, we would be able to access that tag in a merge tag variable as *|VAR.CITY|*.

RevelDigital__26_.png

 

Available Merge Tags

The current set of merge tags includes the following:

*|DEVICE.NAME|*
*|DEVICE.TAGS|*
*|DEVICE.REGISTRATIONKEY|*
*|DEVICE.LASTUPDATE|*
*|DEVICE.LASTSERVICE|*
*|DEVICE.SERIALNUMBER|*
*|DEVICE.LOCATION.CITY|*
*|DEVICE.LOCATION.STATE|*
*|DEVICE.LOCATION.ADDRESS|*
*|DEVICE.LOCATION.POSTALCODE|*
*|DEVICE.LOCATION.COUNTRY|*
*|DEVICE.LOCATION.TIMEZONE|*
*|DEVICE.LOCATION.LANGCODE|*
*|DEVICE.LOCATION.LATITUDE|*
*|DEVICE.LOCATION.LONGITUDE|*
*|DEVICE.ORG.NAME|*
*|DEVICE.ORG.LOCATION.ADDRESS|*
*|DEVICE.ORG.LOCATION.CITY|*
*|DEVICE.ORG.LOCATION.STATE|*
*|DEVICE.ORG.LOCATION.POSTALCODE|*
*|DEVICE.ORG.LOCATION.COUNTRY|*
*|DEVICE.ORG.LOCATION.TIMEZONE|*
*|DEVICE.ORG.LOCATION.LANGCODE|*
*|DEVICE.GROUP.NAME|*
*|SCHEDULE.NAME|*
*|SCHEDULE.TAGS|*
*|SCHEDULE.GROUP.NAME|*
*|TEMPLATE.NAME|*
*|TEMPLATE.TAGS|*
*|TEMPLATE.GROUP.NAME|*
*|PLAYLIST.NAME|*
*|PLAYLIST.TAGS|*
*|PLAYLIST.GROUP.NAME|*
*|MODULE.NAME|*

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.