Market Source Codes help you track which channels, (such as online ads, email, etc)supporters use to respond to your Online Actions. These are added as querystrings in the URL when you link to your forms from the various marketing channels advertising the link.
Market Source Codes differ from source codes. Source codes are unique to each online form and are intended to help you track which form your supporter used. You may have many Market Source Codes for the same form, depending on how many channels or versions of the ad or email you are using.
For example, if you have two Facebook ads you've labeledFacebookAd1, and FacebookAd2, you can link both ads to the same form URL but use Market Source Codes to track which ad your supporter saw and followed to reach your form. The Market Source Code is added to their contact record and can be used to build searches or reports the same way you would use any Activist or source code.
Creating Market Source Codes
Overall Limit: You can create as many Market Source Codes as you need.
Setup: You can create Market Source Codes on the fly. They do not need to be added before you use them. Add it as a query string parameter appended to the URL of a form like this:
?ms=your_code_goes_here
Character limit: 150
Acceptable characters: Alphanumeric, spaces (if using proper URL encoding, a space is represented as%20), underscores, dashes are all allowed.
Source Codes versus Market Source Codes
To clarify the differences between Source Codes and Market Source Codes, we've created a chart to help you figure out when you can use each kind of code.
Item | Source Codes | Market Source |
Apply to online forms | Y | Y |
Apply to online forms as well as other entities (eg: direct mail efforts) | Y | N |
URL string uses code name | N | Y |
URL string uses code ID | Y | N |
Forms can have "default" if a string isn't present on the URL | Y | N |
The system maintains a list of all codes in usage | Y | N |
System stores description of code for reference purposes | Y | N |
Code must be "pre-created" in the system in order to be applied | Y | N |
System forces uniqueness | Y | N |
Codes can be stored in a hierarchy | Y | N |
Using Market Source Codes for searches
Market Source Codeshelp track which online ads and emails were most successful at driving responses to your Online Actions.
When you want to make sure you match your message to the right supporters, you can use these codes to search for contacts who responded to similar appeals when you create lists or saved searches. These can then be used as your audiences for new Targeted Email, Online Actions, or other outreach efforts.
In Create a List, look in the Online Forms section for Market Source Codes. You can add as many codes as needed when including or excluding supporters in your search.

