Tracking
You can use the following optional MIME headers for view and link tracking:
X-Clab-SmartRelay-Track
Enables or disables both view and link tracking on a message by message basis.X-Clab-SmartRelay-TrackView
Enables or disables view tracking on a message by message basis.X-Clab-SmartRelay-TrackLink
Enables or disables link tracking on a message by message basis.
Use
Apply one of the following values to the header/s that you choose to use:
Enable Tracking | Disable Tracking |
---|---|
true | false |
1 | 0 |
on | off |
enabled | disabled |
X-Clab-SmartRelay-Track
Use to enable or disable both view and link tracking.
Example:
Session session = Session.getInstance( System.getProperties(), null );
Message msg = new MimeMessage( session );
msg.setHeader( “X-Clab-SmartRelay-Track”, “true” );
Setting X-Clab-SmartRelay-Track
to true
, is the equivalent of setting both X-Clab-SmartRelay-TrackView
and X-Clab-SmartRelay-TrackLink
to true
.
If you set X-Clab-SmartRelay-Track
to true
and, for example, set X-Clab-SmartRelay-TrackView
to false
, link tracking is still enabled, but view tracking is disabled for the relevant message.
X-Clab-SmartRelay-TrackView
Use to enable or disable view tracking. X-Clab-SmartRelay-TrackView
overrides X-Clab-SmartRelay-Track
for view tracking.
Example:
Session session = Session.getInstance( System.getProperties(), null );
Message msg = new MimeMessage( session );
msg.setHeader( “X-Clab-SmartRelay-TrackView”, “true” );
X-Clab-SmartRelay-TrackLink
Use to enable or disable link tracking. X-Clab-SmartRelay-TrackLink
overrides X-Clab-SmartRelay-Track
for link tracking.
Example:
Session session = Session.getInstance( System.getProperties(), null );
Message msg = new MimeMessage( session );
msg.setHeader( “X-Clab-SmartRelay-TrackLink”, “true” );