You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am scratching my head how to get the Transitions API module working as documented. My primary use-case would be to get all links that have been visited after a specific event was fired.
First, I tried Transitions.getTransitionsForAction and expected that I could use this for "event" actions. Unfortunately, there was no real documentation what the actionType and actionNames should be, and the database schema description I found on the web did not answer my question either. So I looked into the source code to find that quite obviously only URLs and titles are supported at the moment. First bummer.
Then I tried getTransitionsForUrl and getTransitionsForTitle. The URL seemed to work (at least in the demo provided in the docs), but it was unclear to me how the URL should look like and what parts of the URL are really relevant. Also, I noticed that no data was returned as soon as I tried to use segmentation.
My next try was getTransitionsForTitle. This yielded results, but they were exactly the same no matter what pageTitle I handed over. I could even provide an arbitrary string and got the very same result back. Segmentation didn't work either.
Is there any documentation about how the Transition package can be used to get "useful" reports back, and is there any change to get the pages the user visited after a specific event fired or at least after visiting a page with a certain title?!
The text was updated successfully, but these errors were encountered:
derwaldgeist
changed the title
Is the Transitions module broken?
Is the Transitions API module broken?
Nov 28, 2017
I am scratching my head how to get the Transitions API module working as documented. My primary use-case would be to get all links that have been visited after a specific event was fired.
First, I tried Transitions.getTransitionsForAction and expected that I could use this for "event" actions. Unfortunately, there was no real documentation what the actionType and actionNames should be, and the database schema description I found on the web did not answer my question either. So I looked into the source code to find that quite obviously only URLs and titles are supported at the moment. First bummer.
Then I tried getTransitionsForUrl and getTransitionsForTitle. The URL seemed to work (at least in the demo provided in the docs), but it was unclear to me how the URL should look like and what parts of the URL are really relevant. Also, I noticed that no data was returned as soon as I tried to use segmentation.
My next try was getTransitionsForTitle. This yielded results, but they were exactly the same no matter what pageTitle I handed over. I could even provide an arbitrary string and got the very same result back. Segmentation didn't work either.
Is there any documentation about how the Transition package can be used to get "useful" reports back, and is there any change to get the pages the user visited after a specific event fired or at least after visiting a page with a certain title?!
The text was updated successfully, but these errors were encountered: