window.CVENT.addTriggerHandlers('AllPages', function() {
});
window.CVENT.addTriggerHandlers('RegistrationConversion', function() { $curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "https://trackcmp.net/event");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, array(
"actid" => "66396772",
"key" => "c06d7af622ed8c1e9df58ac4e329ef87036e5783",
"event" => "CompleteRegistration",
"eventdata" => "DSES2020",
"visit" => json_encode(array(
// If you have an email address, assign it here.
"email" => "",
)),
));
$result = curl_exec($curl);
if ($result !== false) {
$result = json_decode($result);
if ($result->success) {
echo 'Success! ';
} else {
echo 'Error! ';
}
echo $result->message;
} else {
echo 'cURL failed to run: ', curl_error($curl);
} });
window.CVENT.addTriggerHandlers('RegistrationConversion', function() {
});
window.CVENT.addTriggerHandlers('RegistrationConversion', function() { });