Messenger API

Written by
Paulo
Updated a month ago
Show / Hide the Widget
$pipeback.show(); // Display the Messenger
$pipeback.hide(); // Hide the Messenger
Open / Close the Popup
$pipeback.open(); // Open the Messenger popup
$pipeback.close(); // Close the Messenger popup
Navigate Between Sections
You can direct users to specific parts of the Messenger:
$pipeback.navigate('home'); // Go to the home screen
$pipeback.navigate('messages'); // View messages
$pipeback.navigate('newMessage'); // Start a new message
$pipeback.navigate('newMessage', 'Hi team!'); // Start a new message with pre-filled text
$pipeback.navigate('help'); // Open Help Center
$pipeback.navigate('news'); // Show News
These commands allow you to integrate the Messenger into your UI or trigger it based on user actions.
UTM Tracking (Automatic)
Pipeback automatically captures UTM parameters from the URL when users visit your site.
https://yourdomain.com?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale&utm_term=shoes&utm_content=ad1
The following parameters will be automatically tracked and stored:
utm_source
utm_medium
utm_campaign
utm_term
utm_content
This allows you to analyze where your conversations are coming from and attribute marketing efforts without any extra setup.
This content was useful?