Hello,
I am working on a project where my customer spends money advertising their business with TrafficJunky. They are wanting to set up conversion tracking pixels for their ads (Traffic Junky supplies you the code to insert into the page - they offer 3 forms of implementation; HTML code, PHP code, & Postback URL) We want 3 pixels that will go off based on the following; 1 will go off after 5 minutes on page; 1 after 10 minutes on page; 1 after 20 minutes on page. I believe this can be accomplished using js/ajax Window setTimeout() Method. My JavaScript skills are pretty limited.. Could anyone assist me with creating the base code for this? I would GREATLY appreciate it & would be interested in freelancing stuff out to someone in the future (paid gigs) if i can get this working.

Here is an example of the php code TrafficJunky gave me to use.


PHP Code:
<?php
    $randomNumber 
time() . mt_rand(10009999999);
    
$currentPage substr($_SERVER["REQUEST_URI"], 0255);
?>
<img id="1000123071_cpa_testing" src="https://ads.trafficjunky.net/tj_ads_pt?a=1000123071&member_id=266201&cb=<?=$randomNumber ?>&epu=<?=$currentPage ?>&cti=[TRANSACTION_UNIQ_ID]&ctv=[VALUE_OF_THE_TRANSACTION]&ctd=[TRANSACTION_DESCRIPTION]" width="1" height="1" border="0" />

or HTML version

Code:
<img id="1000123071_cpa_testing" src="https://ads.trafficjunky.net/tj_ads_pt?a=1000123071&member_id=266201&cb=[RANDOM_NUMBER]&cti=[TRANSACTION_UNIQ_ID]&ctv=[VALUE_OF_THE_TRANSACTION]&ctd=[TRANSACTION_DESCRIPTION]" width="1" height="1" border="0" />
Thank you for viewing over my issue & I look forward to your responses! :)