Skip to content
share library_books

On-Page Transactions

Measuring user-activity can be crucial to understanding what your users are feeling while interacting with your website. This gives you a better understanding about your users needs. Measuring delays between when a user sees a page and clicks a button, versus how big of a delay users see when navigating between pages on your website, or how fast you reply to a live-chat question are all crucial when in understanding your users' needs.

Adding On-Page Transactions

First of all, you need to add transactions to your App. Press the green plus button in the top right corner.

Add Transaction

Specify a Transaction name. Have in mind the name is important, it has to match the name you will use in the Real User Monitoring script. Also, add target time and description then press save.

Specify Transaction

The Transaction was added, but there is no RUM data related to it, let's improve this.

Transaction was added

Add this function call to start the transaction. The second parameter must match the transaction name you previously created.

 strum('startTransaction', 'ExampleTransaction');

And by this call transaction will be ended.

 strum('endTransaction', 'ExampleTransaction');

Finally, this is what you will see after the transactions start sending data to Sematext Experience about user activity.

Transactions in action

That's everything you need to configure. Enjoy your Transactions!