Setup & Integration Guide
To integrate the widget, you will need to add in two (2) lines of code to your website. These lines of code are available from the “White Label Widget” menu item on the left hand side when you are looking at a particular event.
You will be shown two items:
1. Main Script – copy and paste the code below just before the </body> tag on your page.
<script defer async src="https://megatix.com.au/js/widgets/buy-now-plugin.js"></script>
2. Default Button – copy and paste the code below into the location you wish to have the “Buy Tickets” button placed.
<button type="button" data-mt-source="https://megatix.com.au/white-label/sophia-support-event">Buy Tickets</button>
For advanced users and web developers, the button can be styled according to any existing website theme or template by utilising the mt-c-btn-buy-now class and data-mt-source fields.
You may also style your own button from the Dashboard by clicking on “Custom” at the top of the White Label Widget section of your dashboard.
Our widget is compatible with the following any website/e-commerce platforms, including but not limited to:
- Wordpress
- Squarespace
- Wix ** Additional steps required
- Joomla
- Weebly
- Webnote
If you require assistance with integrating the widget into your website, our technical team is here to assist. Please contact your Account Manager or email [email protected].