Your login for our support center is different than your Control Panel login.

Click here to create a login for the support center

 Knowledgebase
Knowledgebase
Manual Use of Engagement Tracking Events

Applies to SocketLabs On-Demand

When not using the 'Automatic Tracking' option for Engagement tracking, both Open and Click events can only occur when specific tags are added to a message's contents. Unsubscribe events always require text to be added, and cannot currently be automatically generated.

Manually Tracking the Open Event

The following text should be added to the HTML body component of a message, which will cause our service to insert a link to a transparent tracking image used to determine when an Open event has occurred:

<hstracking />

Manually Tracking the Click Event

Insert the HsTracking="true" attribute inside of any anchor tag for links to be tracked, i.e.:

<a href="http://example.com/linkdestination/" HsTracking="true">Click Here</a>

Manually Tracking the Unsubscribe Event

This event cannot be tracked automatically, and so manual syntax must be used in order to track unsubscribes. Additionally, this is the only event that can be invoked from the plain text body of a message, as opposed to the HTML body.

In order to generate an unsubscription link in the Text portion of a message, use the following syntax:

{{HsUnsubscribe}}

In order to generate an unsubscription link in the HTML portion of a message, use the following syntax:

<HsUnsubscribe>Custom Link Text</HsUnsubscribe>

Which will generate a link similar to this:

<a href="http://unsubscribe-url/">Custom Link Text.</a>

Related Articles

The following Knowledge Base article may also be of interest:


Comments (0)
Help Desk Software by Kayako  Copyright © 2018 SocketLabs, Inc.  Terms of Service | Privacy Policy | Acceptable Use Policy