how can i track submissions in php include source?

  • Profile Image
    chrisb87
    Asked on March 27, 2012 at 03:20 PM

    i've seen that you can specify each website with ?website=google but we have almost 300 products, and by these means would mean to specify each of the 300 html's by inserting the iframe and changing this code. 

    My iFrame consultation form is embedded in  <!--#include virtual="../navigation.html" -->, which is included in each product website. So if i add the code there is no difference whether the website is product A or product B. How can i differ whether the submission came from A or B product? is there a faster way of solving this?

    Thank you,

  • Profile Image
    Mike_T
    Answered on March 27, 2012 at 06:29 PM

    Thank you for contacting us.

    You may try using something like:

    <iframe allowtransparency="true" src="//form.jotformeu.com/form/20867174625358?website=<?php echo $_SERVER['REQUEST_URI'] ?>" frameborder="0" style="width:100%; height:465px; border:none;" scrolling="no">
    </iframe>

    Please also check the following thread for similar LightBox solution:

    http://www.jotform.com/answers/63481-dynamic-php-variable-to-lightbox

    Please feel free to contact us if you need any further assistance.