Closed samblyon closed 5 years ago
Also seeing this behaviour.
The pull request was merged but our Codeship was not deploying anymore. We have now moved to Travis and this is deploying properly with the PR merged. Please also note we added in some support for a flow we used to have which is based on a command queue instead of calling the Tracker functions directly (this is still possible for backwards compatibility). The command queue approach works more like Google Analytics.
Problem
The readme states that it is possible to track merchant detail views separately from overall results views. However, the current
track
function does not support this.The docs say
track()
accepts two arguments, with the second argument being the view type. However, the function actually only accepts a single argument and the view is always set to_e.view
, with the result that the view type is alwaysWEB_SEARCH_VIEW
.Proposal
Add support for a custom view string. It is the simplest approach, allowing an override view string and defaulting to
_e.view
. It is not necessarily the best approach.From current readme:
https://github.com/EmpyrNetwork/empyr_web#tracking