Skip to main content

Overview

Plugins extend the Refine SDK with additional functionality. The SDK includes three built-in plugins:

Using Plugins

Register plugins with refine.use():

Plugin Order

Plugins execute in registration order. For most cases, the recommended order is:

Quick Reference

DebugPlugin

Log events and validate parameters during development:

ConsentPlugin

Gate tracking behind user consent:

AutoTrackPlugin

Automatically track common events:

Combining Plugins

Typical production setup:

Next Steps

Debug Plugin

Development tools

Consent Plugin

Privacy compliance

Auto Track Plugin

Automatic tracking