[Plugin: Contact Form 7] Action tracking on Yahoo! Analytics (Indextools)
-
I am aware of the following code to track actions in Google Analytics:
on_sent_ok: "pageTracker._trackPageview('/funnel_G1/step1.html');"
Following this example (which I found at: https://ideasilo.wordpress.com/2009/05/31/contact-form-7-1-10/) I have tried to implement the same thing except with Yahoo! Analytics (formerly Indextools).
However the actions are not being tracked correctly.
I have added the following line in the additional settings box:
on_sent_ok: "YWATracker.setAction('03');"
The following code appears in the footer of my website:
<script type="text/javascript" src="https://d.yimg.com/mi/eu/ywa.js"></script> <script type="text/javascript"> /*globals YWA*/ var YWATracker = YWA.getTracker("10001626644221"); //YWATracker.setDocumentName(""); //YWATracker.setDocumentGroup(""); YWATracker.submit(); </script> <noscript> <div><img src="https://s.analytics.yahoo.com/p.pl?a=10001626644221&js=no" width="1" height="1" alt="" /></div> </noscript>
If anyone has successfully configured action tracking with Contact Form 7 and Yahoo! Analytics I would welcome advice/suggestions.
- The topic ‘[Plugin: Contact Form 7] Action tracking on Yahoo! Analytics (Indextools)’ is closed to new replies.