When you send email invitations via CheckMarket you can show a different banner per person, both in the invitations themselves as in the survey. This banner will be based on a custom field value.
Using that custom field’s CSL variable you can reference to the file saved in that field, and consequently that file will be shown to the contact.
A few preparations must be done before you can set the variable banner. First the banners must be imported into your CheckMarket media library and you must put the file names of these banners in a separate column in your contact list.
Import the different banners into the media library.
Note the files names of these banners (or keep the media library tab open while you carry out the following steps). The file names can be found in the URL field, right after “files/” and before the extension (usually .png or .jpg)
Put these file names in your excel list in a separate column. Eventually you will have a file that contains a banner name per person (= row) in the file.
Import the contacts into the survey. Select a custom field for the column containing the banner names, e.g. field 1.
Tip! Rename the custom field to something that’s easily recognizable, like “banner”, in order to set up the variable more easily.
Add a variable banner to the email invitation
Open the media library and copy the URL of one of the banners you want to use.
Go to the email invitation and open the source code.
Locate the code for the current image (it starts with “<img“).
Replace the part that’s in brackets (right after src=”…”) with the banner URL you copied in step 1.
Replace the file name (it comes after “files/” and before the file extension .png or .jpg) with the variable of the chosen field. For example, if you selected field 1 the variable will be:
If you’ve renamed the field, e.g. to “banner”, then you can also use the following variable:
Save the invitation.
Add a variable banner to a survey
Go to the media library and copy the URL of one of the banners you want to use.
Go to Settings > Appearance and click on Logo / Banner.
Paste the banner’s URL here.
Replace the file name (the part after “files/” and before the extension “.png” or “.jpg”) with the chosen fields’ variable, e.g.
When you’ve renamed the field you can also use that label, e.g.
Fill out the alternative text. You can even use the same variable here.