Injection rules rely on DI# expressions to transmit structured data to destination URLs at click time. This article presents a list of available dynamic values, including contact, message, send and project contexts. This reference will help you configure parameters in tracking, analytics, and integration scenarios.
| Code | Description |
|---|---|
| [[=Contact.Domain;]] | Domain of the contact's email Type: string |
| [[=Contact.dtActivated;]] | Activation date of the contact Type: datetime* |
| [[=Contact.dtCreated;]] | Creation date for the contact Type: datetime* |
| [[=Contact.dtModified;]] | Modification date of the contact Type: datetime* |
| [[=Contact.dtProfileUpdate;]] | Modification date of the contact's profile Type: datetime* |
| [[=Contact.idContact;]] | ID of the contact Type: int E.g., 12345 |
| [[=Contact.f_EMail ;]] | Email of the contact Type: string E.g., name@dialoginsight.com |
| [[=Contact.f_XXX;]] | Project's contact field E.g., Contact.f_City returns a string type value, such as "Toronto". |
| [[=Mailing.dtMailing;]] | Sending date Type: datetime* |
| [[=Mailing.isTest;]] | Test sending status Type: bool** |
| [[=Mailing.isSimulation;]] | Simulation sending status Type: bool** |
| [[=Mailing.idBatch;]] | ID of the batch Type: int E.g., 1234 |
| [[=Mailing.SendLogTag;]] | Tag of the sendlog Type: string |
| [[=Mailing.dtScheduledDelivery;]] | Preparation date of the mailing Type: datetime* |
| [[=Message.MessageName;]] | Name of the message Type: string |
| [[=Message.idMessage;]] | ID of the message Type: int E.g, 725584 |
| [[=Message.Parameters.XXX;]] | Message parameter Type: varies depending on the parameter's type |
| [[=Message.idCategory;]] | ID of the communication type of the message Type: int E.g., 36718 |
| [[=Message.Category.Name;]] | Name of the communication type of the message Type: string E.g., Newsletter |
| [[=Message.Category.Label;]] | Label of the communication type of the message Type: string E.g., Newsletter |
| [[=Message.Category.IsAdministrative;]] | Administrative type status of the message Type: bool |
| [[=Project.idProject;]] | ID of the project Type: int E.g., 5318 |
| [[=Project.ProjectName;]] | Name of the project Type: string |
| [[=Sendlog.idBatch;]] | ID of the batch in the sendlog Type: int E.g., 12345 |
| [[=Sendlog.idContact;]] | ID of the contact in the sendlog Type: int E.g., 12345 |
| [[=Sendlog.idMessage;]] | ID of the message in the sendlog Type: int E.g., 725584 |
| [[=Sendlog.idSendLog;]] | ID of the sendlog Type: int E.g., 12345 |
| [[=Sendlog.idVersion;]] | ID of the version in the sendlog Type: int E.g., 739318 |
| [[=Sendlog.isTest;]] | Test status of the sendlog Type: bool** |
| [[=Sendlog.slKey;]] | ID key of the sendlog Type: string E.g., YxaeXvc |
| [[=System.Culture;]] | Culture of the system used Type: string E.g., fr-CA |
| [[=System.Now;]] | Timestamp of the system Type: datetime* |
| [[=System.IsDev;]] | Development status of the system Type: bool** |
| [[=System.Encoding.HTMLEntities(XXX);]] | Special character encoding Type: string My encoded text E.g., "òìèéà" becomes "My encoded text òìèéà" |
| [[=system.Tools.Base64.urlEncode(XXX);]] | Value encoding in Base64 Type: string E.g., "TXkgZW5jb2RlZCB2YWx1ZQ" becomes "My encoded value" |
*Datetime type values use this format: JJ/MM/AAAA HH:MM (e.g., 12/08/2024 10:49).
**Boolean type values return either 1 (true) or 0 (false).