WordPress.org

Forums

GiftFold
[resolved] Cross Domain Tracking with Widget's Donation Form (2 posts)

  1. jlberglund
    Member
    Plugin Author

    Posted 1 year ago #

    When using Google Analytics with cross domain tracking, the form element needs an onsubmit attribute, as in this example:

    <form name="f" method="post" onsubmit="_gaq.push(['_linkByPost', this]);">

    See https://support.google.com/analytics/answer/1034342?hl=en for more information.

    One way for the GiftFold widget to allow for this would be to add a checkbox to the widget which simply let's the user turn it "on" or "off". A more robust approach might be required if users are using systems other than Google Analytics, but it should be good enough for most cases (for now).

    http://wordpress.org/plugins/giftfold/

  2. jlberglund
    Member
    Plugin Author

    Posted 1 year ago #

    Added support for GA cross domain tracking in version 1.1.0. Note, you will need to use _setAllowAnchor in you GiftFold theme layout for this to work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GiftFold
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic