[GA analytics widget]: clicking on pagination doesn't trigger pushFunction
See original GitHub issueIf you use the analytics with this configuration, pushFunction
is not triggered when a user clicks on a new page. With the triggerOnUIInteraction
option to true
, we expect that it is.
movies.addWidget(
instantsearch.widgets.analytics({
pushFunction: function(formattedParameters, state, results) {
console.log('pushFunction')
},
pushInitialSearch: true,
triggerOnUIInteraction: true,
delay: 0,
})
);
Here is a jsfiddle reproducing the issue: https://jsfiddle.net/mthuret/j9nwpz34/23/
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
analytics | InstantSearch.js - Algolia
A widget that pushes the current state of the search to the analytics platform of your choice.
Read more >Pagination guidelines - GitLab Docs
Pagination is a popular technique to avoid loading too much data in one web request. This usually happens when we render a list...
Read more >Button click not triggered if using bootstrap-table pagination ...
i'm using wenzhixin bootstrap-table , and when i'm loading the page for the first time the button click is triggered, but after paginate...
Read more >Event Tracking is not working in Google Tag Manager? Here ...
There are many things that can go wrong with your Google Tag Manager event tracking. You might not see any events in the...
Read more >How To Build Custom Pagination with React | DigitalOcean
A method for handling large datasets on the view is by using the infinite scrolling technique - where more data is loaded in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When clicking on a link of the pagination widget,
pushFuction
is not triggered whereas if you select something using the refinement list it is.This was first reported by a user on support.
We have no plan to backport it (it’s implemented as a feature) and it’s not yet released as part of a stable release. Let me know if it causes too much problem and will find a way to backport it.