我正在尝试在GoogleAnalytics中设置跟踪。www.example.com/jdsfdf?sdfffs#/thankYou
每次GoogleAnalytics在网址中看到#/thankYou时,我希望它将其属性设置为转换。如何使用正则表达式表示if the URL contains #/thankYou, then it's a conversion
这篇文章写得很松散,是为了给出我正在尝试实现的基本概念。ga('send', 'event', 'myEventCategory', 'myEventAction', 'myEventLabel');
我希望当用户点击一个按钮时,代码会在GA系统中触发GoogleAnalytics事件跟踪,但我得到了一个错误消息- "ga is not a function“。我在我的index.htm