Sanford Whiteman - Done!
With the updated framework your config would be built like so...
var hiddenFieldRules = [ { name : "UTM_Campaign__c", channel: "query", selector: "utm_campaign" }, { name : "UTM_Campaign__c", channel: "constant", selector: "Fallback value if no utm_campaign" }, { name : "UTM_Content__c", channel: "query", selector: "utm_content" }, { name : "UTM_Content__c", channel: "constant", selector: "Fallback value if no utm_content" }, { name : "UTM_Medium__c", channel: "query", selector: "utm_medium" }, { name : "UTM_Medium__c", channel: "constant", selector: "Fallback value if no utm_medium" } ];
Thank you Sanford Whiteman! This is exactly what I was looking for!
Glad you like it, Craig.