Skip to content

Commit 44fc2bd

Browse files
committed
jsPDF - add tracking
1 parent e4dcbcf commit 44fc2bd

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,18 @@ <h2><a href="#">Draw example: Images</a></h2>
320320
</div>
321321
</div>
322322
</div>
323+
<script type="text/javascript">
323324

325+
var _gaq = _gaq || [];
326+
_gaq.push(['_setAccount', 'UA-32767308-2']);
327+
_gaq.push(['_trackPageview']);
328+
329+
(function() {
330+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
331+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
332+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
333+
})();
334+
335+
</script>
324336
</body>
325337
</html>

0 commit comments

Comments
 (0)