CRM Offline Conversions: Meta Conversions API, Google Ads, TikTok Events API for Leads and Won Deals
by Viyug Infotech https://viyuginfotech.com$ 85.46
Send every CRM stage back to Meta, Google Ads and TikTok.
Add-on for Website Tracking Suite. Leads from your website keep their ad click, and each step of the pipeline (new lead, qualified, won, lost, confirmed order, paid invoice) goes server-side to the ad platforms as an offline conversion. Your campaigns learn from real customers, not from form fills.
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
What it does
Ad clicks kept
gclid, gbraid, wbraid, fbclid / fbc, fbp and ttclid are captured on contact and lead forms and at eCommerce checkout, and kept on the lead, the order and the contact.
Rules per stage
Lead created, converted to opportunity, any stage reached, won, lost, sales order confirmed and invoice paid. Filter by team or lead type, value from expected revenue or totals.
Meta Conversions API for CRM
CRM events with hashed email, phone and name, the Meta click and browser ids and the Meta lead ID when the lead came from a lead ad.
Google Ads offline conversions
Through Google's Data Manager API (no developer token) with gclid, gbraid, wbraid and enhanced conversions for leads, or as a scheduled HTTPS upload file.
TikTok Events API
ttclid and hashed contact data, sent to your TikTok pixel or to a CRM event set.
Safe delivery
Same consent rules as the tracking suite, one event per platform and event id, queue with retries, event log on every lead, test mode and a dry-run preview.
Workflow walkthrough
Fictional company and visitors.
A visitor comes from an ad
The ad link carries a click ID (gclid, fbclid or ttclid). After the visitor accepts cookies, the click is kept in a first-party cookie and travels with the contact form, a lead form or the checkout.
The lead keeps the ad click
The Ad tracking tab shows the click IDs, the cookie answer and the form page. Every conversion sent for this lead is listed underneath with its platform, value and status.
Connect the platforms
The CRM conversions tab of the tracking settings shows what is ready. Meta and TikTok reuse the tracking suite's tokens; Google Ads signs in once, or publishes an upload file.
Map stages to conversions
A rule says when (a stage, won, lost, order, paid invoice), for which teams, with which value, and under which name each platform receives it.
Preview before anything is sent
The dry run shows the exact data each platform would receive for this lead, with customer data already hashed. Send as test uses the platforms' test codes and Google's validate-only mode.
The pipeline moves, conversions go out
Qualify, win or lose a deal as usual. The conversions are queued and sent within minutes; failures are retried with growing pauses and can be resent by hand.
Value per stage and platform
CRM, Reporting, Ad Conversions: list, graph and pivot of the value handed to each platform per rule, with sent and skipped counts.
Proof of every call
Each conversion keeps the data as sent (hashed) and the platform's answer, such as Google's request ID or Meta's events received.
Setup in 5 steps
1. Meta: in the tracking settings, Meta tab, switch on the Conversions API with your pixel (dataset) ID and an access token from Events Manager.
2. TikTok: TikTok tab, switch on the Events API with your pixel ID and access token; optionally add a CRM event set ID.
3. Google Ads: create conversion actions of type Import from clicks; enter your customer ID and an OAuth client with a refresh token for the Data Manager API, or choose the upload file.
4. Rules: the default rules (lead created, qualified, won, lost) are ready; add the Google conversion action IDs and your own stages.
5. Test: press Test Google connection, open a lead, Preview ad conversions, then Send as test and check the test events in each platform.
Compared
| Feature | This app | Typical alternatives |
|---|---|---|
| Lead, qualified, won and lost sent as conversions | Yes | Website purchases only |
| Google Ads through the Data Manager API, no developer token | Yes | Developer token or manual files |
| gbraid, wbraid and enhanced conversions for leads | Yes | gclid only |
| Meta CRM events with fbc, fbp and lead ID | Yes | Website events only |
| TikTok with ttclid | Yes | Rarely |
| Click IDs kept on lead, order and contact | Yes | Lost after the first page |
| Website lead and CRM lead counted once (shared event ID) | Yes | Counted twice |
| Dry-run preview and test mode per platform | Yes | Send and hope |
| Event log on every lead with retries and resend | Yes | No log |
What you need
This app is built on Website Tracking Suite, another Viyug Infotech app. Odoo installs it together with this app, so you also get everything below.
Website Tracking Suite
Technical name website_tracking_suite
GA4 ecommerce events, Google Ads conversions, Meta Pixel with Conversions API, TikTok Pixel with Events API and ChatGPT Ads, all tied to Google Consent Mode v2 and the Odoo cookie bar.
- GA4 enhanced ecommerce events with items, value and currency
- Google Ads purchase and lead conversions with enhanced conversions
- Meta Pixel plus server-side Conversions API with one event id for deduplication
- TikTok Pixel plus Events API, ChatGPT Ads pixel plus Conversions API
- Consent Mode v2 driven by the Odoo cookie bar; no server event without consent
- Global Privacy Control (GPC) honoured: no ad pixels or server-side ad events, consent log kept 24 months
- Event log with payload, answer, automatic retry and manual resend
Questions
Which accounts do I need?
Only those of the platforms you use: a Meta pixel (dataset) with an access token, a TikTok pixel with an Events API token, and for Google Ads a conversion action of type Import from clicks plus a Google Cloud project with the Data Manager API enabled and an OAuth client. For the upload file Google Ads only needs the file URL, user and password.
Is a Google Ads developer token needed?
No. The app uses Google's Data Manager API, which Google lists as not needing a developer token. Google moved new offline conversion imports to this API.
Will a website lead be counted twice?
No. The "Lead created" conversion reuses the event ID of the website Lead event sent by the tracking suite, and every rule sends a record once per platform.
What about consent?
The click cookie is only written after the visitor accepts optional cookies, and with "Server events need consent" on, a lead, order or invoice without consent is logged as skipped. Consent given another way can be set by hand on the lead. Customer data is SHA-256 hashed before it leaves Odoo.
Leads from Meta lead ads?
Put the Meta lead ID (or TikTok lead ID) on the lead and it is sent with every stage, which Meta recommends for conversion leads. Website leads are matched by hashed email, phone and the Meta click ID.
Need a hand?
Questions about ad accounts, tokens or stage mapping? Write to us and Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:
+91 83207 42187
Send us an email
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Website (website) • Calendar (calendar) • Contacts (contacts) • Discuss (mail) • Invoicing (account) • eCommerce (website_sale) |
| Community Apps Dependencies | Show |
| Lines of code | 2922 |
| Technical Name |
website_tracking_crm |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module