Trying to integrate Zoho Campaign Form [closed]

You can add inline JavaScript using the wp_head action like so:

add_action('wp_head','zoho');

function zoho() {

    $output="<script type="text/javascript">
    var $ZC = jQuery.noConflict();
    var trackingText="ZCFORMVIEW';
    $ZC(document).ready( function($) {
        $ZC("#zc_trackCode").val(trackingText);
        $ZC("#fieldBorder").val($ZC([changeItem='SIGNUP_FORM_FIELD']").css("border-color"));
    _setOptin(false,function(th){
    /*Before submit, if you want to trigger your event, "include your code here"*/
});

/*Load Captcha For this*/ 
 loadCaptcha('https://campaigns.zoho.com/campaigns/CaptchaVerify.zc?mode=generate');

 /*Tracking Enabled*/ 
 trackSignupEvent(trackingText);
 });
</script>';

    echo $output;
}

You’d have to properly escape your strings to make this work though.