Tracking Via Iframe - PHP
Tracking Via Iframe - PHP
php
/*
* Example PHP Script for iframe tracking
*
<?=@$_GET["__product_id__"]?>
<?=@$_GET["__affiliate_name__"]?>
<?=@$_GET["__url__"]?>
<?=@$_GET["__http_referrer__"]?>
<?=@$_GET["__trackingkey__"]?>
<?=@$_GET["__fake_document_cookie__"]?>
<?=@$_GET["__cid__"]?>
<?=@$_GET["__sid1__"]?>
<?=@$_GET["__sid2__"]?>
<?=@$_GET["__sid3__"]?>
<?=@$_GET["__sid4__"]?>
<?=@$_GET["__sid5__"]?>
<?=@$_GET["__utm_source__"]?>
<?=@$_GET["__utm_medium__"]?>
<?=@$_GET["__utm_campaign__"]?>
<?=@$_GET["__utm_term__"]?>
<?=@$_GET["__utm_content__"]?>
<?=@$_GET["__custom__"]?>
<?=@$_GET["__currency__"]?>
<?=@$_GET["__netto_amount__"]?>
<?=@$_GET["__order_id__"]?>
<?=@$_GET["__vendor_amount__"]?>
<?=@$_GET["__affiliate_amount__"]?>
<?=@$_GET["__billing_type__"]?>
<?=@$_GET["__first_amount__"]?>
<?=@$_GET["__other_amounts__"]?>
<?=@$_GET["__first_billing_interval__"]?>
<?=@$_GET["__other_billing_intervals__"]?>
<?=@$_GET["__tag__"]?>
<?=@$_GET["__variant_key__"]?>
<?=@$_GET["__variant_name__"]?>
<?=@$_GET["__eticket_location__"]?>
<?=@$_GET["__eticket_date__"]?>
<script>
console.log( 'The product id is <?=@$_GET["product_id"]?>!' );
</script>
<!--
The above copyright notice and this permission notice shall be included in all
copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->