Content Replacement Codes

Content Replacement Codes

The following replacement codes may be added to campaigns and autoresponders.

Subscriber ID

The primary key of the subscriber in SendSage Studio’s database.

Replacement Code: %%subscriber_id%%

Subscriber’s Email Address

The subscriber’s email address as recorded in SendSage Studio.

Replacement Code: %%subscribers_email_address%%

If the subscriber’s email domain is an Internationalized Domain Name, the email address will be replaced in the “punycode” form.
See the Subscriber Record documentation for more information on this. This behavior may change in the future.

Subscriber’s Email Address MD5

The lowercased MD5 of the Subscriber’s lowercased email address.

Replacement Code: %%emailaddress_md5%%

If the subscriber’s email domain is an Internationalized Domain Name, the MD5 will be calculated from the lowercased “punycode” form.
See the Subscriber Record documentation for more information on this. This behavior may change in the future.

Mailing List ID

The primary key of the mailing list in SendSage Studio’s database.

Replacement Code: %%mailing_list_id%%

Mailing List Name

The unique name assigned to this mailing list.

Replacement Code: %%mailing_list_name%%

The raw URL that will cause the subscriber to unsubscribe from this mailing list. When the user clicks on this link, they’ll be taken to a page that will remove them from the mailing list. That page contains a form that is
automatically submitted using JavaScript. This helps to prevent link-crawling spam-filtering robots from mistakenly removing subscribers from the mailing list.

If the subscriber’s web browser does not support JavaScript, they will be presented with an “Unsubscribe” button to click to finalize their removal from the mailing list.

Replacement Code: %%unsubscribe_link%%

The raw URL that will lead the subscriber to the web version of this email.
This is only available on campaigns.

Replacement Code: %%link_to_web_version%%

Campaign ID

The primary key of the campaign in SendSage Studio’s database.

Replacement Code: %%data_campaign_id%%

Deprecated Replacement Code: %%campaign_id%%

Campaign Name

The unique name assigned to this campaign.

Replacement Code: %%data_campaign_name%%

Current Year

The current year in 4 digits (2000). The current year is retrieved using the server’s current time. This value is determined when the replacement is made, not when the campaign was sent.

Replacement Code: %%data_current_year%%

Percent %

A simple percent % symbol. This replacement exists because % is used as part of the replacement code anchors, and there may be content that needs this in order to be formed properly.

Replacement Code: %%data_percent%%

From Email

The From Email value used for this message.

Replacement Code: %%data_from_email%%

From Name

The From Name value used for this message.

Replacement Code: %%data_from_name%%

Sender Email

The Sender Email value used for this message. This may be blank.

Replacement Code: %%data_sender_email%%

Reply-To Email

The Reply-To Email value used for this message. This may be blank.

Replacement Code: %%data_reply_to_email%%

Subscriber Date Subscribed (Long)

The date this subscriber subscribed, formatted like December 5, 2015.

Replacement Code: %%data_subscribe_date_long%%

Subscriber Date Subscribed (Database)

The date this subscriber subscribed, formatted like 2015-12-05.

Replacement Code: %%data_subscribe_date_database%%

Subscriber Subscription IP

The IP from which the subscriber originally subscribed.

Replacement Code: %%data_subscribe_ip%%

Stat ID

The Stat ID from which the email was sent.

Replacement Code: %%data_stat_id%%

SendID

The SendID from which the email was sent. See SendSage Concepts for more information on the value of SendID.

Replacement Code: %%data_sendid%%