Usermaven accepts the same set of parameters in both the npm package and HTML snippet versions; the only difference is in the naming convention -- in the npm package, parameters should be referenced as
param_name, while in the HTML snippet they should be referred to as
Usermaven accepts the following parameters.
Required. API key
If no specific setting is provided, Usermaven will make its best effort to identify the requirements automatically. For HTML snippets, the script location host will be taken into account. As for npm packages, t.usermaven.com is the standard host.
Automatically capture frontend events i.e button clicks, form submission etc. Accepted values are
Name of tracking cookie (
Domain of the tracking cookie (by default this is
If set to true, Usermaven will emit events to a dynamic endpoint, which prevents the blocking of advertisements.
This parameter is just shortcut for
This parameter forces SDK to use the fetch implementation (custom or default) even in browser
(Not available as
This parameter adds custom headers to each request. Can be either a static object (