Is there a way to add an infusionsoft tag based on the ticket selection in EE4. I know there is a way to add it based on event but I really need it added based on a ticket which has different dates for our events.
Is there a small hack i can do with conditional tagging or possibly using custom hooks?
I haven’t looked at the code for the EE4 version of the IS add-on, so I couldn’t tell you where to place it, but in EE3 dev version of the IS add-on, I found this:
//Add tag to the contact record using the infusionsoft_tag_id meta field
if ($cust_id && isset($attendee_data['event_meta']['infusionsoft_tag_id']) && !empty($attendee_data['event_meta']['infusionsoft_tag_id']) ){
$add_tag = $ee_infusionsoft->grpAssign($cust_id, $attendee_data['event_meta']['infusionsoft_tag_id']);
$clean_attendee_data['infusionsoft_tag_id'] = $attendee_data['event_meta']['infusionsoft_tag_id'];
}
So I would look for where the EE4 IS add-on is calling to the IS SDK library, and see if you can get it to do the tagging, based on that tagging code above, calling the grpAssign method in the IS SDK library.
I have found a few instances of the ‘grpAssign’ in the PHP files of the EE4 IS add-on but i’m not sure where to put it and how to call specific events to add specific adds. PHP is not my strongpoint i’m afraid. How could i get some help with this?
oh, I think I see in the EE4 IS code that if you use a custom field in the event editor, give it the key ‘infusionsoft_tag_id’ and the value for that tag, which you can find from your IS account. It is documented here: https://eventespresso.com/wiki/infusionsoft-integration/ but it’s not obvious, and the event editor interface changed from “Event Meta” to “Custom Fields”.
Viewing 4 reply threads
The support post ‘Add Infusionsoft Tag based on ticket selection’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.