Browse code

Add code for Pardot implementation to docs

Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)

O.S.Tezer authored on 2014/05/06 17:53:19
Showing 1 changed files
... ...
@@ -67,5 +67,19 @@
67 67
     <script src="/js/base.js"></script>
68 68
     <script src="/tipuesearch/tipuesearch_set.js"></script>
69 69
     <script src="/tipuesearch/tipuesearch.min.js"></script>
70
+    <script type="text/javascript">
71
+    piAId = '45082';
72
+    piCId = '1482';
73
+
74
+    (function() {
75
+      function async_load(){
76
+        var s = document.createElement('script'); s.type = 'text/javascript';
77
+        s.src = ('https:' == document.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js';
78
+        var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c);
79
+      }
80
+      if(window.attachEvent) { window.attachEvent('onload', async_load); }
81
+      else { window.addEventListener('load', async_load, false); }
82
+    })();
83
+    </script>
70 84
   </body>
71 85
 </html>