Advertiser Integration Example: Productpage

Buy product - Postback Tracking

Click ID:

Source Code

<!-- 
    This is an example how to integrate Postback Tracking via Google Tag Manager.
    The guide can be found here: https://help.scaleo.io/article/478-google-tag-manager-gtm-for-postback-tracking 
    When following the guide, please:
        - replace the 'click_id' query parameter with 'tcv_cid'
        - replace the 'click_id' cookie name with 'tcv_cid'
-->

<html>
  <head>
      
    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-K88ZJNC');</script>
    <!-- End Google Tag Manager -->
      
  </head>
  <body>
    <h1>Advertiser Integration Example: Productpage</h1>
    <div>        
        <a href="/thankyou">Buy product - Postback Tracking</a>
    </div>
      
    <p><?php echo "Click ID: ".$_GET['tcv_cid'?></p>
    
    <div style="background-color:#BBB;padding:10px;margin:10px;">
        <h3>Source Code</h3>
        <?php
            show_source
("mybike.php");
        
?>
    </div>
      
  </body>
</html>