JavaScript Tracking Code
The JavaScript Tracking Code is the easiest way to track conversions with PanelPlace.
This guide will explain how you can use the JavaScript Tracking Code to start tracking your campaign conversions.
Note: To use JavaScript Tracking Code for conversion tracking, your campaign's destination URL must contain the pp_txn_id parameter and [transaction_id] placeholder in order for the code to capture the transaction_id's value. (Eg. https://www.yourwebsite.com/signup?pp_txn_id=[transaction_id])
Finding the PanelPlace JavaScript Tracking Code
To use all the features described in this page, you need to use the latest version of the tracking code. To find the tracking code for your website, follow the steps below:
The tracking code looks as follows:
<!-- PanelPlace Tracker --> <script> !function(){ // Set your thank you page/trigger path here // Ex. "/thank-you", "/thankyou.html" (must begin with forward slash) window.pp_trigger_path = "{/trigger_page}"; var e=document.createElement("script");e.src="//trk.panelplace.com/js/panelplace.js",e.async=!0;var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t) }(); </script> <!-- End PanelPlace Tracker -->
In your tracking code, {/trigger_page} should be replaced by your website page that you are tracking conversions. For example, if the conversion is to be tracked on http://www.yourwebsite.com/thank-you, then you would replace {/trigger_page} with /thank-you
Setting up PanelPlace JavaScript Tracking Code in Google Tag Manager
For more information about installing the Google Tag Manager snippet, you may visit Google’s Quick Start Guide.