Track Revenue From Website

Track Revenue From Website
need some advice in regards to that we want to track revenue generated by diffrent websites, at present we are tracking with googleanalytics with a href like this:
http://www.westhotel.no/?utm_source=1000&utm_medium=Sub&utm_campaign=Std

in our booking module we have the possiblity to add a variable called “source” that can give us the info about where booking came from

we have a php page called reservasjon.php
that starts the booking prosses

<?php
$arrival=$_POST[‘arrival’];
$nights=$_POST[‘nights’];
$rooms=$_POST[‘rooms’];
$adults=$_POST[‘adults’];
$children=$_POST[‘children’];
$submitter=$_POST[‘submitter’];
$language=$_POST[‘language’];

?>

<head runat=”server”>
<div id=”container”>
<div id=”bodytext”><iframe name=”I1″ src=”https://www.myfidelio.net/webui/AvailabilitySearch.aspx?chain=IQ&property=NOWH&language=<?=$language?>&arrival=<?=$arrival?>&nights=<?=$nights?>&rooms=<?=$rooms?>&adults=<?=$adults?>&children=<?=$children?>” method=”post” marginwidth=”0″ marginheight=”0″ height=”1800″ width=”100%” align=”center” border=”0″ frameborder=”0″ scrolling=”no”>
De browser ondersteunt geen in line frames of is momenteel zodanig geconfigureerd dat in line frames niet kunnen worden weergegeven.
</iframe>

</div>
</body>

the iframe calles to a server… if we at the end put something like &children=<?=$children?>&source=”varible” then this should do the trick

so what we need help to is modify the incoming hrf so we can get the “source” tag put in to the reservasjon.php
this should be a session variable so the website dont get credit 5 month later if they come back…

Leave a Reply

Your email address will not be published. Required fields are marked *