Step-by-step implementation playbook | Tested 11 November 2026
Outcome: A completed €0 Flowte test purchase was received by Meta Events Manager as Purchase → Processed. Follow the steps below to reproduce the test for another organisation. This is a successful proof of concept; review the production checklist before publishing.
|
Google Tag Manager |
https://tagmanager.google.com/ |
|
Tag Assistant |
https://tagassistant.google.com/ (opens automatically from Preview) |
|
Meta Events Manager |
https://business.facebook.com/events_manager2/ |
|
Test storefront |
https://www.flowte.me/storefront/backstage-manager-1 |
|
Confirmation page path |
/storefront/confirmation.php |
|
Correct GTM container |
GTM-5QKZJ3M5 — Backstage Manager Master Template |
|
Flowte organisation ID |
883 |
|
Storefront slug |
backstage-manager-1 |
|
Meta dataset / Pixel ID |
965264319636943 — “This and that” |
|
Custom event name |
flowte_purchase_test |
|
Data layer variable |
DLV - ecommerce |
|
Test transaction |
TR-883-137116794 | value 0 | currency EUR |
IMPORTANT: Multiple Google tags may appear on flowte.me. Do NOT edit GTM-MHGWW6CV or GTM-MRDQZ8M by mistake. In this test we edited GTM-5QKZJ3M5, then verified that exact container in Tag Assistant. Client deployments may use another authorised container.
1. Open https://tagmanager.google.com/ and sign in to the account with access to the Flowte container.
2. Open the container named Backstage Manager Master Template. Check the ID in the top-right: GTM-5QKZJ3M5.
3. In the left menu you will use Tags, Triggers and Variables. The blue Submit button publishes changes — do not click it during testing.
4. Use Preview (top-right) to test unpublished changes. Preview opens Tag Assistant and prompts for the website URL.
1. In GTM, click Triggers → New.
2. Name it Flowte - Purchase Confirmation.
3. Click Trigger Configuration → Page View → DOM Ready.
4. Choose Some DOM Ready Events (not All DOM Ready Events).
5. Add ALL three filters below using the plus (+) button; save.
Page Path | equals | /storefront/confirmation.php
Page URL | contains | storefront=backstage-manager-1
Page URL | contains | v=883
These match our test. Replace the storefront slug and organisation ID for each client. Query-string substring filters are a proof-of-concept method; validate robust matching before production.
1. Click Tags → New. Name: Flowte - Purchase Confirmation.
2. Click Tag Configuration → Custom HTML.
3. Paste the complete HTML below. This is a reconstructed equivalent of our working test logic, not a verified byte-for-byte export of the original saved tag.
4. Click Triggering and choose Flowte - Purchase Confirmation from Step 2.
5. Click Save.
<script>
(function () {
var body = document.body ? document.body.innerText : '';
if (body.indexOf('Payment Successful') === -1) return;
var idMatch = /TR-\d+-\d+/.exec(body);
if (!idMatch) return;
var transactionId = idMatch[0];
var prices = [], names = [], m;
var priceRegex = /Price:\s*€\s*([\d,.]+)/g;
while ((m = priceRegex.exec(body)) !== null) {
prices.push(Number(m[1].replace(/,/g, '')) || 0);
}
var nameRegex = /Confirmation:\s*TR-\d+-\d+\s+([\s\S]+?)\s+Name:/g;
while ((m = nameRegex.exec(body)) !== null) {
names.push(m[1].replace(/^\s+|\s+$/g, ''));
}
var items = [], total = 0;
for (var i = 0; i < prices.length; i++) {
total += prices[i];
items.push({item_name: names[i] || 'Ticket', price: prices[i], quantity: 1});
}
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'flowte_purchase_test',
ecommerce: {
transaction_id: transactionId,
value: total,
currency: 'EUR',
items: items
}
});
})();
</script>
What it does: on a successful confirmation page, reads the transaction reference, ticket names and displayed prices, then pushes event flowte_purchase_test with ecommerce.transaction_id, value, currency and items into window.dataLayer. Our test used €0 tickets. Production should ideally use structured backend-provided purchase data rather than page-text extraction.
1. Click Triggers → New. Name: Meta Pixel - Test Confirmation Only.
2. Choose Trigger Configuration → Page View → DOM Ready.
3. Select Some DOM Ready Events and enter the SAME three filters from Step 2.
4. Click Save.
1. In Meta Events Manager (https://business.facebook.com/events_manager2/), select the correct business and dataset under Datasets. Copy the authorised Pixel/dataset ID. Our test ID was 965264319636943.
2. In GTM click Tags → New. Name: Meta Pixel - Flowte Test.
3. Choose Tag Configuration → Custom HTML. Paste the HTML below. Replace BOTH occurrences of the example Pixel ID with the client’s own ID.
4. Under Triggering select Meta Pixel - Test Confirmation Only. Save.
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '965264319636943');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=965264319636943&ev=PageView&noscript=1"
/></noscript>
<!-- End Meta Pixel Code -->
If another integration already loads the same Pixel, do not initialise it twice. Ensure consent rules and tag order are appropriate before going live.
1. In GTM left menu click Variables.
2. Scroll to User-Defined Variables → New.
3. Name the variable exactly DLV - ecommerce.
4. Click Variable Configuration → Data Layer Variable (under Data layer and events).
5. Set Data Layer Variable Name to ecommerce; Data Layer Version to Version 2; leave Set Default Value unchecked.
6. Click Save.
1. Click Triggers → New. Name: Meta - Purchase Test Event.
2. Click Trigger Configuration → Custom Event (scroll to Other if necessary).
3. Enter Event name exactly flowte_purchase_test. Leave Use regex matching unchecked.
4. Choose Some Custom Events. Add the same three filters from Step 2.
5. Click Save. This trigger must be attached to the Purchase tag in Step 8.
1. Click Tags → New. Name: Meta Pixel - Purchase Test.
2. Choose Tag Configuration → Custom HTML.
3. Paste the exact tested code below. The reference {{DLV - ecommerce}} must match the variable created in Step 6.
4. Under Triggering select Meta - Purchase Test Event (NOT the DOM Ready trigger).
5. Click Save. In the Tags list confirm the Purchase tag shows the orange Custom Event trigger.
<script>
(function() {
if (typeof fbq !== 'function') {
return;
}
var ecommerce = {{DLV - ecommerce}};
if (!ecommerce || !ecommerce.transaction_id) {
return;
}
fbq('track', 'Purchase', {
value: Number(ecommerce.value),
currency: ecommerce.currency,
content_name: 'Flowte Test Purchase'
}, {
eventID: ecommerce.transaction_id
});
})();
</script>
The test used the Meta base Pixel on DOM Ready, followed by the custom Purchase event. Check Pixel initialisation and consent sequencing for any production implementation.
1. Return to GTM Workspace for GTM-5QKZJ3M5. Click Preview at the top-right (NOT Submit).
2. In the Tag Assistant popup, enter https://www.flowte.me/storefront/backstage-manager-1. Click Connect.
3. A new storefront tab opens. Keep both the storefront and Tag Assistant tabs open.
4. In Tag Assistant, look at the top row of detected tags. CLICK GTM-5QKZJ3M5, not one of the other tags.
5. On the storefront page, choose the €0 test tickets, continue to checkout, enter the required test purchaser details and complete the order.
6. Wait until the Flowte Payment Successful / confirmation.php page is displayed. Return to Tag Assistant.
7. In the left event timeline, click flowte_purchase_test (not just Summary).
8. On the Tags tab confirm Meta Pixel - Purchase Test appears under Tags fired with Custom HTML – Succeeded.
9. Click Variables and find DLV - ecommerce; confirm transaction_id, value, currency and items. Use Data Layer to inspect the pushed event if necessary.
Troubleshooting: On the initial storefront page, the confirmation-only tags should show Tags not fired — that is expected. They should fire after successful checkout on the scoped confirmation page. If Tag Assistant says Not Connected, reconnect Preview to the storefront and follow the checkout in the connected tab. A yellow Unknown domain debug notice is not itself evidence that tracking failed.
1. Open https://business.facebook.com/events_manager2/ and sign into the business with access to the test Pixel.
2. Click Datasets in the left navigation, then select This and that (our example test dataset, ID 965264319636943).
3. Click the Test events tab. Choose Website as the marketing channel.
4. Expand Confirm your website’s events are set up correctly.
5. Enter https://www.flowte.me/storefront/backstage-manager-1 and click Test Events. It opens the storefront in a separate tab. Keep the Meta Test events tab open.
6. Perform the €0 checkout in the connected storefront session (you can also use GTM Preview simultaneously).
7. Return to Meta → Test events. Scroll to Events Received. Look for Purchase → Processed.
8. Expand Purchase using the chevron at the far right. Check Event ID, value, currency, and Received From = Browser.
Our observed result: Purchase → Processed; Event ID TR-883-137116794; value 0; currency EUR; content_name Flowte Test Purchase. Meta also displayed PageView. Meta’s test_event_code may appear in its interface; our browser Pixel test succeeded without manually adding that code to the Purchase HTML.
• Storefront URL: https://www.flowte.me/storefront/backstage-manager-1 → the client’s actual Flowte storefront URL.
• Storefront slug in Page URL trigger filters: backstage-manager-1 → client slug.
• Organisation ID in Page URL trigger filters: 883 → client organisation ID.
• Meta Pixel ID in base HTML: 965264319636943 → client’s Pixel/dataset ID, including noscript URL.
• GTM container: use the client’s authorised installed container; verify it is present in Tag Assistant.
• Currency: EUR in the data-layer tag → actual order currency or structured currency field; do not hardcode EUR for multi-currency clients.
• Custom event name flowte_purchase_test and variable DLV - ecommerce may stay consistent across clients if the implementation uses the same conventions.
Do not reuse an order-specific confirmation URL with a c= token. Always test from the storefront URL and complete a new checkout.
On 11 November 2026, GTM Preview displayed flowte_purchase_test and Meta Pixel - Purchase Test → Custom HTML – Succeeded. Meta Events Manager displayed Purchase → Processed (Browser), transaction TR-883-137116794, value 0 and currency EUR. This confirms that a Flowte ticket purchase can be transmitted as a browser-side Meta Purchase event using the configured GTM tags.
Proof of concept: SUCCESSFUL. The remaining work is client-specific deployment and standard production checks, not proving whether the basic integration is possible.
• Do not click Submit / Publish until the organisation-specific configuration is reviewed.
• Confirm the client owns or authorises the Meta Pixel and that no duplicate Pixel is already installed.
• Check consent and privacy requirements; do not send tracking before required consent.
• Check repeat page loads and event duplication. A matching eventID does not by itself guarantee duplicate browser purchases are suppressed.
• For live monetary reporting, validate non-zero totals, ticket fees, mixed carts and currency with a controlled paid transaction.
• Confirm attribution requirements: this tested payload sends generic content_name, not a unique concert/event ID.
• Prefer a structured Flowte data-layer purchase payload over scraping rendered confirmation text for long-term reliability.
Prepared from the tested GTM/Meta workflow. The original purchase-confirmation source code was reconstructed from the test approach; export and compare against the saved GTM tag before relying on the guide as an exact code backup.