Reputation: 51
I can't find the answer to this anywhere, if it's even possible.
I've got a PHP script to connect a few web forms to MailChimp using their v3.0 API. Currently, when the form is used, under the 'Source' column next to the new record it says: "API - Generic".
Is there a way to change this, so I can make it say something else?
Cheers, Lloyd
Upvotes: 3
Views: 3320
Reputation: 2093
You could also use custom merge / audience fields to distinguish between forms/sources. That's at least what I am doing.
https://developer.mailchimp.com/documentation/mailchimp/reference/lists/merge-fields/
Upvotes: 0
Reputation: 531
The only way to control the "Source" listed in MailChimp's Contact table, profiles, and segmentation, is to use a key provided by using their "Registered app" option.
Setup found in account at:
If this is done the "Source" will display as the name you provide when establishing the app.
This process essentially hands you back an API key after Oauth so beyond making used of that key in your script no other code changes should be required
Link to their API docs with a bit more info:
Sample PHP app that will return the API key for your registered app:
Upvotes: 2