You can add your own tracking codes to monitor ticket sales and conversions. This is configured in your WordPress admin under the Eventotron plugin settings.
Note: We recommend using this for your own festival/season tracking purposes only. Per-event tracking for individual shows will be available in the new version of Eventotron.
Where to Find It
In WordPress: Eventotron → Settings (scroll down to find the tracking code fields)
Tracking Code (Ticket, Basket & Checkout)
This code fires on the ticket selection, basket, and checkout modals.
Important: Use <etronsafe> instead of <script> tags.
Example — Meta (Facebook) Pixel:
<etronsafe>
fbq('init', 'YOUR_PIXEL_ID');
fbq('track', 'PageView');
</etronsafe>Example — Google Analytics (gtag):
<etronsafe>
gtag('config', 'G-XXXXXXXX');
</etronsafe>Transaction Completion Tracking Code
This code fires when a purchase is completed — useful for conversion tracking.
Use these placeholders for dynamic data:
[[TRANS_VALUE]]— the transaction value[[TRANS_ID]]— the transaction ID
Example — Google Ads Conversion:
<etronsafe>
let etron_tx_value = [[TRANS_VALUE]];
let etron_tx_id = '[[TRANS_ID]]';
gtag('event', 'conversion', {
'send_to': 'AW-XXXXXXXX/XXXXXXXXXX',
'value': etron_tx_value,
'transaction_id': etron_tx_id,
'currency': 'GBP'
});
</etronsafe>Example — Meta Pixel Purchase Event:
<etronsafe>
fbq('track', 'Purchase', {
value: [[TRANS_VALUE]],
currency: 'GBP',
order_id: '[[TRANS_ID]]'
});
</etronsafe>