【问题标题】:Grails web flow: Possible to include the state name in the url?Grails web flow:可以在url中包含状态名称吗?
【发布时间】:2012-03-01 18:58:26
【问题描述】:

我在玩Google Analytics goals / funnels。我想用它来跟踪结帐过程,但是网络流 url 的格式使这变得非常困难。

是否有可能改变: http://localhost:8080/checkout/checkout?execution=e1s2

.. 变成更像这样的东西: http://localhost:8080/checkout/checkout/shipping?execution=e1s2

或其他任何可以让他们更容易通过 Google Analytics 跟踪的东西?

【问题讨论】:

    标签: grails spring-webflow


    【解决方案1】:

    我仍然不知道是否可以以不同的方式格式化网络流 url,但我找到了解决问题的方法:

    http://www.google.com/support/analytics/bin/answer.py?hl=en_US&answer=55514&utm_id=ad

    【讨论】:

    • 当问题得到解决或解决方法到位时,答案是如何出现的,这很有趣 :-) 显然可以通过提供自定义 flowUrlHandler 来更改 url 格式:n4.nabble.com/…
    猜你喜欢
    • 2011-01-05
    • 2012-05-16
    • 2011-11-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-06-13
    • 2010-09-29
    • 1970-01-01
    相关资源
    最近更新 更多