There are certain tags which are associated with Campaigns.
Tag | Required |
[UNSUBSCRIBE_URL] | YES |
[COMPANY_FULL_ADDRESS] | YES |
[UPDATE_PROFILE_URL] | NO |
[WEB_VERSION_URL] | NO |
[CAMPAIGN_URL] | NO |
[LIST_NAME] | NO |
[LIST_SUBJECT] | NO |
[LIST_DESCRIPTION] | NO |
[LIST_FROM_NAME] | NO |
[CURRENT_YEAR] | NO |
[CURRENT_MONTH] | NO |
[CURRENT_DAY] | NO |
[CURRENT_DATE] | NO |
[COMPANY_NAME] | NO |
[COMPANY_ADDRESS_1] | NO |
[COMPANY_ADDRESS_2] | NO |
[COMPANY_CITY] | NO |
[COMPANY_ZONE] | NO |
[COMPANY_ZIP] | NO |
[COMPANY_COUNTRY] | NO |
[COMPANY_PHONE] | NO |
[CAMPAIGN_SUBJECT] | NO |
[CAMPAIGN_TO_NAME] | NO |
[CAMPAIGN_FROM_NAME] | NO |
[CAMPAIGN_REPLY_TO] | NO |
[CAMPAIGN_UID] | NO |
[SUBSCRIBER_UID] | NO |
[EMAIL] | NO |
[FNAME] | NO |
[LNAME] | NO |
You can filter your campaign statistics according to each of the above tags. Such filters can also be used to transform your tags in a certain manner. Let us learn how to do it with an example. Say you want to embed a link to twitter in your campaign. Let’s see how we can proceed on this now,
Using only the tags you would embed it like:
Here arises a small problem. Twitter expects it’s arguments to be encoded. This means it expects the following,
Instead what our previous statement would give it is this,
https://twitter.com/intent/tweet?text=my super campaign&url=http://www.domain.com/campaigns/1cart129djat3
To overcome this very aspect, we use filters over our tags.
This may sound amazing but it’s not the only thing there is, avenues exist for even more customization with tags and subsequent deployment. Say, we need to start our twitter texts with an uppercase letter and make the following letters lowercase.
In order to accomplish this, we can apply multiple filters over the same tag, which will be separated by a perpendicular slash.
For instance:
https://twitter.com/intent/tweet?text=[CAMPAIGN_SUBJECT:filter:lowercase|ucfirst|urlencode]&url=[CAMPAIGN_URL:filter:urlencode]
Important thing here not note is that multiple filters should be added in the order which they are supposed to be applied.
Following is the list of filters that we provide with Adcrux. We will be adding more filters and features in the future as we are always striving to make Adcrux better today than it was yesterday.
urlencode | will urlencode your tag |
rawurlencode | will rawurlencode your url |
htmlencode | will convert html tags into their entities |
trim | will trim the white spaces from begining and end of your tag |
uppercase | will transform your tag in uppercase only chars |
lowercase | will transform your tag in lowercase only chars |
ucwords | will capitalize each first letter from your tag content |
ucfirst | will capitalize only the first letter of your tag |
reverse | will reverse your tag content |
Have any more doubts, send us an email at ashley@adcrux.io and we’ll get in touch!