Installation overview

Product Fruits installation is easy, but there are things you need to do to implement it properly. Let's take a deeper look at the basic principles of Product Fruits.

General information

Identifying users

You must identify the current user - the user who is currently logged in to your application. You can also pass more additional properties that can be used for better segmentation.

Read more here.

Content Security Policies

If your application enforces Content Security Policies (CSP), enable our domains.

Installation instructions

React and NextJS applications

Product Fruits can be integrated with React and NextJS applications. We provide our NPM component that is easy to use. It handles all common use cases.

See our guide for React and NextJS applications.

NPM package

You can use our NPM package, see this article.

VueJS applications

If you use VueJS, check out this.

Angular applications

If you use Angular, follow this.

Other web platforms - JavaScript snippet

If you use any other frontend framework, you can follow this guide. You'll have to insert a short JavaScript code snippet and that's it.

See our guide for web applications.

Google Tag manager

If you use Google Tag Manager (GTM), you can also install Product Fruits.

See our guide for Google Tag Manager