Info |
---|
Marketing Content → Components → Homepage Components → Marketing Card |
What are Marketing Cards?
Marketing cards are a simple and accessible way to promote content. Cards stack in one column on small screens, and stack in two columns on large screens.
...
Standard Variant - This card maintains standard colors and should be used the VAST majority of the time
Campaign Variant - This card takes custom colors and is intended for very special occasions. It should be used minimally
Best Practices
Image Spec:
Tip |
---|
|
Text Expectations:
Tip |
---|
|
Content Set-up
Required Content
Header - The title on the card
Description - The description on the card. This should be short and sweet - ideal case keep this to 1 or 2 lines, but should wrap to a maximum 3 lines on small screens
Image - Refer to image spec above
Image Description
CTA Text - This is the text inside of the action button. Max 3 words, and should be in
Title Case
CTA url - the url that the user will be redirected to when they click on the card
Internal routes - must start with
/
for example,/account
External routes - should contain the full url
Custom Colors
This should only be toggled if you are creating a ‘campaign variant’ marketing tile. Keep in mind, these should be used minimally
...
IMPORTANT NOTE: You are responsible for validating that the color combinations you have set are AA compliant. Check https://accessible-colors.com/ before publishing
...
Terms
This should only be toggled if your card is related to a campaign or initiative that has terms and conditions associated
Terms text variant: if you’d like your terms to pop up in a modal, paste the copy in this field
Terms button variant: if you’d like to redirect the user to a separate terms page, set the url here
Marketing Card Groups
Once you have created your individual cards, you must create a set of marketing cards that will all show on the UI together. It is ok to have only one card in a group, up to around 6 maximum. The order you rank them in this list will be the order they show to the user
Enable Visibility
Now that you have a marketing card group established, you can add it to the homepage.
Visit {sanity url}/desk/content;features;featureHomePage
Add a ‘referenced marketing card group’ to the list
Link the group you have created
Publish changes
Tracking
mParticle event called: Marketing Tile Click (same as the old tile version)
...