Thursday, 15 May 2014

content management system - BehaviorTracking tag for clickContentEvent not working -



content management system - BehaviorTracking tag for clickContentEvent not working -

i facing tough time clickcontentevent behaviortracking tag fire , insert entry bt_event table. displaycontentevent working fine without issues.

i have settings in portal administration event service , behaviour tracking service correctly.

com.bea.p13n.tracking.listeners.behaviortrackinglistener , clickcontentevent configured.

this jsp trying retrive content , when click link, not inserting clickcontentevent.

<pz:contentselector rule="testcontent" id="nodes" sortby="cm_nodename desc"/> <utility:notnull item="<%=nodes%>"> <utility:foreachinarray array="<%=nodes%>" id="node" type="com.bea.content.node"> <behaviortracking:clickcontentevent documentid="<%=node.getname() %>" id="eventinfo"/> <% string url = request.getcontextpath() + "/showbinary"+node.getpath()+"?"+ eventinfo; %> <a href="<%= url %>" ><%=node.getname() %> </a> </utility:foreachinarray> </utility:notnull>

and have next servlet mapping in web.xml -

<filter> <filter-name>clickthrougheventfilter</filter-name> <filter-class>com.bea.p13n.tracking.clickthrough.clickthrougheventfilter</filter-class> </filter> <filter-mapping> <filter-name>clickthrougheventfilter</filter-name> <url-pattern>/showbinary/*</url-pattern> </filter-mapping>

i confused when displaycontentevent working, why not clickcontentevent?

i restarted server , working.

content-management-system weblogic portal websphere-portal weblogic12c

No comments:

Post a Comment