Closed (fixed)
Project:
Marketo MA
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
17 Jun 2015 at 18:36 UTC
Updated:
21 Sep 2015 at 19:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jyokum commentedksenzee, you're correct that these fields are not accessible for field mapping but you can get to them if you have Rules enabled on your site. There are three default rules included in the module which perform the same action as the triggered events which can be turned on/off in the User Integration tab of the module config. If you want to try it, disable the "User Registration / Creation" option on that tab then enable the rule "Update Marketo lead on user creation". Edit the rule then edit the action "Add an item to a list". You'll be able to access [account:uid] [account:name] [account:created] etc. from there and can add them to whatever Marketo keys you'd like.
Example rule export:
This may get you what you need but I'll look at adding them directly in the core functionality so that sites without Rules can get to them.
Comment #2
ksenzeeThanks! That looks like it would work. I think I'm going to solve this for my own site with some custom code that duplicates the user_ hooks in marketo_ma_user, and adds my own data before calling marketo_ma_add_lead(). I already have a need for something similar so it'll serve my purposes. But for other users I think this would be a really helpful feature.
Comment #3
jyokum commentedHere's a patch for 7.x-1.x branch that adds the feature.
Comment #5
jyokum commentedFeature added to 7.x-1.x
With marketo_ma_user enabled, fields can be mapped on the module config page, User Integration tab.