This tag is used to show or hide content based on custom information associated with the current visitor.
Custom attributes are created dynamically whenever you pass querystring parameters to a URL on your MemberMouse site.
For example, if you visit this URL http://www.mydomain.com?offer=promo&source=google, MemberMouse will automatically create two custom attributes called ‘offer' and ‘source'. Now you can create dynamic areas across your site that show/hide content based on the values stored in those attributes.
There's no limit to the number of custom attributes that can be created. And once set, the values will persist across all subsequent pages visited by the user.
custom_attribute – Takes a single value or a SmartTag™ equation incorporating multiple values. You can also precede the value with a ‘!' to check if the current visitor has a value that doesn't equal the one provided.
If you use multiple attributes for a single decision, it results in an AND relationship. For example, if you write:
[MM_Custom_Decision source='google' ad='red-145']
This means, show this content if…
the source equals google
the ad equals red-145
Here are some valid examples:
[MM_Custom_Decision source='google'] Hi [MM_Member_Data name='firstName']! This content is directed specifically toward visitors who came from Google Ads. [/MM_Custom_Decision]
[MM_Custom_Decision source='banner' ad='banner-green|banner-yellow'] This content is directed specifically toward visitors who clicked on a banner ad and that banner ad was 'banner-green' or 'banner-yellow'. [/MM_Custom_Decision]