Google AdWords integration
From ClickTale Wiki
The instructions on this page are intended for self service and online accounts.
Enterprise customers should contact their account managers for integration support.
This method allows you to use your recording quota to record only visitors who have arrived via a Google AdWords campaign:
- Make sure the URL which these visitors arrive at has an extra identifying parameter, such as ref=adwords
- Place the following code on your website, instead of the bottom part of your tracking code:
<!-- ClickTale Bottom part --> <div id="ClickTaleDiv" style="display: none;"></div> <script src="http://s.clicktale.net/WRb.js" type="text/javascript"></script> <script type="text/javascript"> var recordingratio = 0; if (/[\/?&]ref=[^&]*adwords($|&|#)/i.test(window.location.href) || ClickTaleGetUID()!=null) { recordingratio = 1; } if(typeof ClickTale=='function') ClickTale([!YOUR PROJECT ID!],recordingratio,[!PARTITION!]); </script> <!-- ClickTale end of Bottom part -->