Currently optimizing our email campaigns based on conversions - i.e. different emails sent based on whether the visitor has converted for an offer or not.
For this, we need the conversion information in Getresponse (our email system), so that it knows not to send emails for an offer when it has already converted.
Is it possible to have FunnelFlux run a PHP script after specific conversions (e.g. Offer A converts) with the variables from the visitor (e.g. email we've added as a custom variable).
Or perhaps should this be achieved via accessing FunnelFlux API with a cron that would grab any new conversion information, and then parse it to Getresponse as appropriate?
Thanks for any ideas on how best/ most simply to handle this.
Sent this to the FFlux support team, someone will reply with a detailed suggestion 
<?php
require_once __DIR__ . '/plugins/ffHookPlugin.php';
class ConversionHook extends FFHookPlugin
{
public function __construct()
{
parent::__construct( FFHookPlugin::TYPE_NEW_CONVERSION );
}
/**
*
* @param ConversionInfo $conversionInfo
*/
public function hookTriggered( $conversionInfo )
{
require_once __DIR__ . '/tracking/events/hitInfo.php';
$hitInfo = HitInfo::getHit( $conversionInfo->getIdHit() );
if( $hitInfo )
{
$idNode = (string)$hitInfo->getIdNode();
$trackingFields = $hitInfo->getTrackingFields();
if( $idNode == 'your-offer-node-id' )
{
$email = $trackingFields[ 'email' ];
// Call GetResponse API to notify that this user has converted on this offer
}
}
}
}
new ConversionHook();
require_once __DIR__ . '/../conversionHook.php';
Excellent - thanks for this detailed explanation VitaVee - can't wait to implement this.