We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27330
    • 884 Posts
    when using the call:
    [!eForm? &formid=`feedbackForm-contact` &to=`[email protected]` &tpl=`eFeedbackForm-contact` &report=`eFeedbackReport` &thankyou=`94` &mailselector=`department` &subject=`Web site feedback`!]


    where ’94’ FURL is "contact-thank-you.html"


    When the page is submitted you see the content of contact-thank-you.html however the url stays on the "contact-us.html"

    I noticed that GoogleAnalytics Goals doesn’t recognize the ’goal’ which is contact-thank-you.html and was thinking it’s because the url is staying on "contact-us.html"

    did anyone noticed this issuse with eForm?

    A goal is a website page which a visitor reaches once they have made a purchase or completed another desired action, such as a registration or download. Before Google Analytics can calculate goal conversion metrics, you must define one or more goals. A goal is defined with the following information:
    Google help


      • 27330
      • 884 Posts
      Google lets you use the javascript:urchinTracker to log "goals" https://www.google.com/support/googleanalytics/bin/answer.py?answer=55521"" target="_blank" rel="nofollow">google link
      So I included the script in my <body onload> on the "thank-you.html page.
      Thinking it’s enough I looked at the source of the contact-us.html after I submitted the form and noticed that the headers, meta word and all the template parts are the same and only the text <p></p> from thank-you.html is visible in the source without the onload event I added.

      basiclly the question is if modx process the whole thank-you.html page when I submit the page or just process the body content of it?

      Hope I make sense to someone smiley
        • 30223
        • 1,010 Posts
        It is indeed just grabbing the content. All the &thankyou parameter does is provide a "template chunk" which is read by eForm. It simply fetches the content and nothing else. The fact that you can store the different eform templates in documents is merely a convenience and there is no relationship with the page it represents.

        What you might try is to use &gotoid=`94` instead of the &thankyou parameter. This will redirect (or rather forward) to your thank-you.html page. The only downside is that you won’t be able to place any of the eform placeholders in your thank you page.

          • 27330
          • 884 Posts
          that’s a brilliant idea. thank you very much for that tip!