WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] What is a page tracker object (9 posts)

  1. barnabyk
    Member
    Posted 1 year ago #

    Hello!

    I have read the instructions about setting up forms to track conversions in GA. I believe I understand everything, except about what a page tracker object is. Is that a value/name I can assign?

    And does this mean that I don't need to insert the tracking code that GA provides?

    I apologize for my limited knowledge, and appreciate your help!

    Barnaby.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    In the GA code you'll find a line like this:

    _gaq.push(['_trackPageview']);

    In this case, _gaq is what the instruction calls "page tracker object". I don't know its correct name, though.

    And does this mean that I don't need to insert the tracking code that GA provides?

    No. You need to do that.

  3. barnabyk
    Member
    Posted 1 year ago #

    Hello again,

    Is this correct?
    on_sent_ok: "pageTracker._trackPageview('/toronto/classes/');"

    Barnaby.

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    It depends on how you use GA. It's quicker to look at your site. Can you tell us the URL?

  5. barnabyk
    Member
    Posted 1 year ago #

    Hello Mr. Miyoshi,

    Thank you very much for your assistance. The forms we use are at:

    1.
    http://music-lessons.ca/toronto/classes/

    and 2.
    http://music-lessons.ca/toronto/contact-us/

    Barnaby.

  6. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    _gaq is used. Try this:

    on_sent_ok: "_gaq.push(['_trackPageview', '/mysite/thank-you.html']);"

  7. ayoungvoice
    Member
    Posted 1 year ago #

    I am trying to use this code in additional settings but the form still doesn't go to the thank you page.
    on_sent_ok: "_gaq.push(['_trackPageview', '/disccert.com/message']);"

  8. icemachines
    Member
    Posted 1 year ago #

    object_tracker is the core package of hector_worldmodel. It listens to percept message from detectors (e.g. heat signatures of persons or recognitions of other objects of interest in the scene) and fuses all information to a single worldmodel state. Objects will be tracked over time and their states can be influenced by a couple of services. The percept to object association problem is solved either automatically based on the Mahalanobis distance, or a unique object_id can be given in the percept message. If a hector_nav_msgs/GetDistanceToObstacle service is available, the object_tracker can optionally deduce the depth of objects in the scene by projection to the nearest obstacle (wall).
    http://www.icemakerchina.com

  9. dodohead
    Member
    Posted 1 year ago #

    Hi Mr. Miyoshi,

    I am using
    on_sent_ok: "_gaq.push(['_trackPageview', 'Booking Form', 'Submit']);"

    I am receiving the email however I am not getting the success message after I submit the form and the form is not refreshing as it does when the form is not there. Can you tell me how to resolve this issue?
    I have read some older posts and they say something about Javascript conflicts but I'm not sure where that is occuring and how to fix it.
    Any help would be greatly appreciated.

    Thanks.

    d

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic