There are certain tags which are associated with Campaigns.
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.
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 [email protected] and we’ll get in touch!