Setting up your My Alerts Email Template
My Alerts comes with an HTML page template that is used to create the body of the e-mail notifying the subscriber of any changes. This template contains a number of displayed and hidden keywords.
Template Keywords
The keywords used in the HTML template are as follows:
Keyword | Description |
---|---|
##username## | User's first name |
##locationnames## | A list of locations to which the user has subscribed |
##myalerts_switchboard_link## | The link to the User Locations page in My Alerts |
##myalerts_unsubscribe_link## | The link to the Unsubscribe page in My Alerts |
<!--##GeneralBlock--Start##--> | General (location-less) result block – start tag |
<!--##GeneralBlock--End##--> | General (location-less) result block – end tag |
<!--##LocationBlock--Start##--> | Location result block - start tag |
<!--##LocationBlock--End##--> | Location result block - end tag |
##location-link## | Link(s) to the locations in the My House page |
##locationname## | Location name(s) |
<!--##LayergroupBlock--Start##--> | Layergroup result block - start tag |
<!--##LayergroupBlock--End##--> | Layergroup result block - end tag |
##layergroup-link## | Link(s) to the layergroup in My House page |
##layergroupname## | Name(s) of Layergroup where changes have occurred |
<!--##NewInformation--Start##--> | New layer in the layergroup - start tag |
##newlayers## | The name(s) of the new layer in the layergroup |
<!--##NewInformation--End##--> | New layer in the layergroup - end tag |
<!--##MissingInformation--Start##--> | Missing layer in the layergroup - start tag |
##removedlayers## | The name(s) of the removed layer in the layergroup |
<!--##MissingInformation--End##--> | Missing layer in the layergroup - end tag |
<!--##NewRecords--Start##--> | New records found in layer - start tag |
##newrecordlayer## | Layer name(s) where new records found |
<!--##NewRecords--End##--> | New records found in layer - end tag |
<!--##MissingRecords--Start##--> | Missing records in layer - start tag |
##missedrecordslayer## | Layer name(s) with removed records |
<!--##MissingRecords--End##--> | Missing records in layer - end tag |
<!--##GeneralChange--Start##--> | General changes in layer - start tag |
##changedlayername## | Layer name(s) with general changes |
<!--##GeneralChange--End##--> | General changes in layer- end tag |
You may choose to create your own page but you MUST include ALL of the keywords in the correct sequence. As seen in the Sample My Alerts Template HTML.