This tag is used to show or hide content based on affiliate information associated with the current visitor. For example, you can use it to only show a special offer to leads that come from a particular affiliate.
affiliate (optional) - Takes a single affiliate ID or a SmartTag equation incorporating multiple affiliate IDs. You can also precede IDs with a '!' to check if the current visitor was not referred by that affiliate.
subaffiliate (optional) - Takes a single subaffiliate ID or a SmartTag equation incorporating multiple subaffiliate IDs. You can also precede the ID with a '!' to check if the current visitor was not referred by that subaffiliate.
If you use multiple attributes for a single decision, it results in an AND relationship. For example, if you write:
[MM_Affiliate_Decision affiliate='jsmith' subaffiliate='google']
This means, show this content if...
the affiliate equals jsmith
the subaffiliate equals google
When using the
[MM_Affiliate_Decision] itself. The
[MM_Affiliate_Decision] cannot be used within itself. Here are some valid examples:
Hi [MM_Member_Data name='firstName']!
This content is directed specifically toward visitors and members who were referred by affiliate 'aff_1'.
[MM_Affiliate_Decision affiliate='aff_2' subaffiliate='email|banner']
You are currently a member
This content is directed specifically toward visitors and members who were referred by affiliate 'aff_2' and subaffiliate 'email' or 'banner'.