Pass post data to affiliate tracking code

  • Profile Image
    riatech
    Asked on September 19, 2013 at 11:18 AM

    Dear sirs,

    I'm trying to pass the email field value from form submission to my affiliate tracking code.

    The code is :

    <script type="text/javascript" src="//www.jomniaga.com/api/conversion?transtype=LEAD&tracking=TRACKING_VALUE"></script>

    <noscript><img src="//www.jomniaga.com/api/conversion?transtype=LEAD&tracking=TRACKING_VALUE" width="1" height="1" border="0" /></noscript>



    The form is located at : http://passiveincome.my/jomniaga-test-form/



    Kindly please guide me to solve this problem.

    Thank you. 

     

  • Profile Image
    jedcadorna
    Answered on September 19, 2013 at 12:10 PM

    Are your refering to this http://www.jotform.com/blog/85-Send-Instant-Submission-Notifications-with-Webhooks? I didn't quite get the procedure on how you want the email field to be pass on? Can you tell us about the affiliate tracking code?

  • Profile Image
    riatech
    Answered on September 19, 2013 at 12:20 PM

    This is the note in the guidelines. I think, this affiliate system is custome made.

    TRACKING_VALUE - The email address of your lead 

     

  • Profile Image
    Welvin
    Answered on September 19, 2013 at 01:49 PM

    Hi,

    Is there any way you could give us the full details or the page where we can read the full description of this tracking codes?

    I've gone here: http://www.jomniaga.com but I can't find it.

    Will this work like this;

    1. A person submit to your form

    2. The codes should capture the email....

    3. ... and that's it? OR, is there any additional process that mush be done? OR, the codes will automatically do the process once the email will be captured and placed as the tracking value (end o the URL) ?

     

    Thanks

  • Profile Image
    riatech
    Answered on September 19, 2013 at 02:03 PM

    Hi,

    Thank you for your reply.

    Yes. The process work as you describe in step 1 and 2.

    The codes should capture the email in the thank you page.

    I just need to pass the 'email' to replace the 'TRACKING_VALUE'.

    ---

    Only short description available. 



    ----

    This is what i get in the tracking report.




    The Tracking field displayed, should be the email address from customer.
    But, i can't find the way to pass the value from jotform.


    Thank you. 

  • Profile Image
    Mike_T
    Answered on September 19, 2013 at 03:39 PM

    Can you try to use a custom Thank You Page on the form with populated tracking value?

    Added email field tag {email6} to the query.

    <img src="//www.jomniaga.com/api/conversion?transtype=LEAD&tracking={email6}" width="1" height="1" border="0" />

    If this is not working right, please let us know.

  • Profile Image
    riatech
    Answered on September 19, 2013 at 08:56 PM

    Hi,

    Thank you for the update.

    I already done as above guide at 'Thank you message' in my jotform, but the affiliate can't track any submission.

    I tried 'Custom URL' as thank you page, then the affiliate can track submission. But the tracking appear as {email6}, not the email itself.

     

    Thank you.

  • Profile Image
    EltonCris
    Answered on September 19, 2013 at 10:48 PM

    Hi,

    You can't the email data unless you enabled post data in your form and use PHP to catch it. Here's how:

    1. Enable post data in your form. 

    2. If you're wordpress supports php embedding, embed the code directly here http://passiveincome.my/jomniaga-thank-you-page/ (your form custom thank you page). If not, you can use some WP plugins that enables php embed.

    Code:

    <?php

    $email = $_POST['email6'];

    ?>

    <script type="text/javascript" src="//www.jomniaga.com/api/conversion?transtype=LEAD&tracking=<?php echo $email; ?>"></script>

    <noscript><img src="//www.jomniaga.com/api/conversion?transtype=LEAD&tracking=<?php echo $email; ?>" width="1" height="1" border="0" /></noscript>

    Hope this helps. Regards!

  • Profile Image
    riatech
    Answered on September 19, 2013 at 11:18 PM

    Hi,

    Thank you for the support!

    Now, i'm able to pass the email value to affiliate tracking. Problem solved.

    :D 

  • Profile Image
    EltonCris
    Answered on September 20, 2013 at 02:57 AM

    Thanks for letting us know.

    If you need any other assistance related to Jotform, feel free to open a new thread.

    Cheers!