Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

How can we help you?

View Categories

Event Tracking with Action Hooks

If you want to run Event Tracking with Action Hook then you will need a snippet plugin. Here we are using the mainflow snippets WordPress plugin.

After that navigate the snippets and click Create Your First Snippet or New Snippet.

Then copy this code and paste it into your Snippets Php code section image below.

do_action('fluent_crm/track_event_activity', [

    'event_key' => 'fcrm_event_tested',

    'title'     => 'Testing FluentCRM Event',

    'value'     => 'This is my event value with plain Text',

    'email'     => 'success+3000@simulator.amazonses.com',

    'provider'  => 'woocommerce'

], true);

Here change your event keytitle, valueemail, and provider name as you want. Then activate this snippet.

Now to see your event tracked go to mainflow contact.

Get events of a single contact #

If you want to see the event tracking of a single contact, let’s see how you can do that.

API: https://your-domain.com/wp-json/fluent-crm/v2/subscribers/{ID}/tracking-events

Then You will get a response like this:

single contact event tracking 04

If you have any further questions, concerns, or suggestions, please do not hesitate to contact our support team.  

Get an easy start
with MAINFLOW now

Everything you need to confidently grow and run your business. Create your free account now!

Free 30-day trial​
Cancel anytime​
Subscribe