Loading...
Loading...
Loading...
You created a webpage announcing a new product. You want to create a segment of those visitors who view the entire page and start an interaction with them.
In your preferred code editor, develop and validate a ScrollToBottom event tag.
If you deployed the Predictive Engagement tracking snippet, use the following example to create a ScrollToBottom event tag.
<script>ac('dom', 'ready', function() { $(window).scroll(function(){ timeout = setTimeout( function() { if( $(window).scrollTop() + $(window).height() > $(document).height() - 100 ) { ac('record', 'scrollToBottom', 'User scrolled to bottom'); console.log('User scrolled to bottom'); } }) })})</script>For more information about the available Journey JavaScript methods you can use to create event tags, see the Journey JavaScript SDK.
<script> Genesys("subscribe", "Journey.ready", function(){ $(window).scroll(function(){ timeout = setTimeout( function() { if( $(window).scrollTop() + $(window).height() > $(document).height() - 100 ) { Genesys("command", "Journey.record", { eventName: "scrollToBottom"}); console.log('User scrolled to bottom'); } } }})</script>For more information about the available plugins and their associated commands and events, see Commands and events in the Genesys Cloud CX Developer Center.
Deploy your event tag using your preferred tag manager:
Journey.record call and then click the checkmark.Get user feedback about articles.