[Plugin: Contact Form 7] Action tracking on Yahoo! Analytics (Indextools) (1 post)

  1. emeraldryan
    Posted 6 years ago #

    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: http://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="http://d.yimg.com/mi/eu/ywa.js"></script>
    <script type="text/javascript">
    /*globals YWA*/
    var YWATracker = YWA.getTracker("10001626644221");
    <div><img src="http://s.analytics.yahoo.com/p.pl?a=10001626644221&js=no" width="1" height="1" alt="" /></div>

    If anyone has successfully configured action tracking with Contact Form 7 and Yahoo! Analytics I would welcome advice/suggestions.

Topic Closed

This topic has been closed to new replies.

About this Topic