Support

Home Forums Event Espresso Premium Add Infusionsoft Tag based on ticket selection

Add Infusionsoft Tag based on ticket selection

Posted: February 3, 2015 at 6:10 am


David Holland

February 3, 2015 at 6:10 am

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?

Thanks

Myles


Sidney Harrell

February 3, 2015 at 2:14 pm

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.


David Holland

February 4, 2015 at 3:00 am

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?


David Holland

February 4, 2015 at 3:02 am

‘call specific events to add specific *tags*’


Sidney Harrell

February 6, 2015 at 12:01 pm

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: http://eventespresso.com/wiki/infusionsoft-integration/ but it’s not obvious, and the event editor interface changed from “Event Meta” to “Custom Fields”.

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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Sidney Harrell 4 years, 4 months ago ago

Topic Tags

Tagged: , ,

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!