Overview
Leads & Audiences
Use Attributes to save lead data for Audience Segmentation
Attributes Key
Import SMS/Email Contact List
How to Turn on Lead Alerts for X-Ray Website Visitors
Integrations
How do I use a GET Connection?
Integration with Mailchimp
Klaviyo Integration
Sendlane Integration
HighLevel Integration
Google Sheets Integration
SendGrid Integration
JSON Webhooks
Enable Email Suppression List
Email Outbound Tools
Create Google Ads Custom Audience
Integration via Shopify's Custom API
Automate data import from Google Sheets to Google Ads
Finding your Google Ads Client ID, Secret Token and Customer ID
Customizing X-Ray Capture Settings
Connect your SalesForce Account
Connect to different Applications via Zapier
Analytics
FAQs
Bot Response Issues
My bot is Responding with the Default Message or a Different Message
My Bot Won't Respond at all
Bot Response Issues Overview
How to redeem your Facebook Ads Coupon
Handover Protocol
Create a Lookalike Audience from your Messenger Contacts
I Cannot Login or Sign up
I Cannot Connect the Page
Customer Chat Isn't Showing On My Website
User roles in your MobileMonkey Company
FAQ: Customers.ai Send Credits
Pricing & Plans
How to Get Approved for Facebook Subscription Messaging
Support Options
Do you have an Affiliate or Reseller Program?
Can't Find my Messages / Customer Conversations not in Inbox
Why am I getting Product Alerts from my Facebook Page?
Increase in my Number of Contacts
How Does Unsubscribe Work?
Send Overage Automatic Upgrades
FAQs about the CCPA
I Can't Find My Old Bot or my Dialogues
My Facebook page doesn't show up on the list of pages to connect
Why Do I Have To Sign Up With Facebook?
Why Do I Have to Sign Up for InstaChamp with My Facebook Login?
FAQ: MobileMonkey Legacy Subscriptions
FAQs about the CAN-SPAM Act
Remove other Connected Apps on your Business Integrations
Refreshing Your Facebook Connection
What's a Main Menu?
Facebook's 24-Hour Rule
FAQ: MobileMonkey Pricing Plans
Why can't I use SMS on a current plan?
Known Issues
Facebook Permissions Issues
Refresh Page Access Token Error/ Update Permissions
Too Many Bananas!
Issues with Ad Blockers & Privacy Extensions
Website Widget not Appearing on iOS 12.1
Report a Bug
Edit Your Facebook Permissions
How to test Synced Ads on Facebook Ads Manager
Public API
InstaChamp
Connecting your Instagram account to a Facebook page
Pre-requisites in Connecting an Instagram Page
Why do I need to sign up for InstaChamp with my Facebook login?
I cannot connect my Page to InstaChamp
InstaChamp Sign-up Process
My Facebook Page is connected to MobileMonkey. Can I still use InstaChamp?
How to Create Autoresponders on InstaChamp
How do I link my Instagram Account to a Facebook Page?
Troubleshoot: Autoresponders not sending
How do I switch to an Instagram Business Account?
Basic Guide to Autoresponders
How do I enable third-party access to messages?
How do I find my InstaChamp Ambassador referral link and get credit for sales I make?
How to Use the InstaChamp Ambassador Share Banner Library to Monetize Your Audience
WordPress Plugin
Install WP-Chatbot Plugin
Step 1: Connect A Page to WP-Chatbot
Step 2: Setup WP-Chatbot
Step 3: Customize WP-Chatbot
Step 4: Whitelist the Domain
Basic Troubleshooting for WP-Chatbot
Install Script on the Wordpress Website
X-ray Pixel
- All Categories
- X-ray Pixel
- X-Ray SDK for Custom Events
X-Ray SDK for Custom Events
Updated by Raquel Bartolome
Advanced X-ray setup allows users to track clicks, scrolls, and any action on the browser in the customer journey. This is for advanced technical users only.
- Go to INTEGRATIONS > X-RAY PIXEL and scroll down to Advanced Event Setup
- Copy the script and paste below the existing <script> tag that includes the X-Ray Website Script
<script>
window.xrayDataLayer = window.xrayDataLayer || [];
function xrayData() { xrayDataLayer.push(arguments); }
</script> - Customize the customer journey's code.
In an event handler (e.g., the click event on a button), you can trigger a customer journey events by making a call to the xrayData method with the page_view event type together with the desired URL.The code will need to be customized by a web developer to suit the layout of your site.Examples:
In this example, we are adding the trigger to an HTML button with the add-to-cart CSS class.
(e.g., <button class=”add-to-cart”>Add to Cart</button>)
document.querySelector('button.add-to-cart').addEventListener('click', function () { xrayData('page_view', 'https://example.org/use-a-unique-url-here') });
In this example, we are customizing the HTML button to add an onclick handler, which triggers a customer
journey even when the user clicks on the button.
<button onclick="xrayData('page_view', 'https://example.org/use-a-unique-url-here')”>Add to Cart</button>
- Customize the contacts attributes.
To set an attribute, use the set_attribute method of the Xray API, where the two parameters can be any desired attribute name and value, such as:xrayData('set_attribute', 'attribute_name', 'attribute_value')
The code will need to be customized by a web developer to suit the layout of your site.
Payload Example:
You can customize however you want.
Headers:
{
"token": "12312lk3j1lk2j3kl1j2lk31kl2j3kj",
"other_header": "value",
"Authorization": "Basic am9obkBleGFtcGxlLmNvbTphYmMxMjM="
}
Bodies:
{ "squadName": "Super hero squad", "homeTown": "Metro City", "formed": 2016, "secretBase": "Super tower", "active": true }