An injection rule is used to collect information linked to an email or the recipient who clicks a link in that email. Afterwards, this information is added to the end of the clicked URL in the form of parameters. These parameters, often used to measure the performance of a campaign, transfer data or an external system, such as Google Analytics. The parameters are applied only if click statistics are enabled.
Injection Rules in DI
Several injection rules are configured by default in Dialog Insight depending on the activated modules:
You could also create a custom injection rule in which you specify the destination URL and the parameters to inject.
Example With Google Analytics
Here is an example of the mechanism of a parameter of the default Google Analytics rule:
- The parameter automatically associates "utm_medium" to the value "Email" when the link includes "dialoginsight.com".
- The link http://www.dialoginsight.com/fr/solutions will be automatically replaced by http://www.dialoginsight.com/fr/solutions?utm_medium=Email.
- The website for which statistics are used, Google Analytics, will receive this parameter to identify the source of the visitor. In this example, the source is an email message. You will then be able to evaluate the performance of your communications.
The Google Analytics rule is configured to apply to all links, regardless of their destination. However, if special restrictions need to apply to parameters to inject on some destination sites, you can configure the rule to restrict destination sites.