Before You Start
You will need:
Access to your Google Tag Manager web container
Access to your Lunio dashboard
The Lunio mplat script installed on your site (see Step 1)
Step 1) Install the Lunio Mplat Script
The Lunio mplat script must be running on your site before conversion tracking will work. If you have already installed the mplat script, skip to Step 2.
Follow the Lunio mplat installation guide to get your script URL and install it on your site:
Step 2) Import the Lunio Template into GTM
Download the Lunio Conversion Tracking
.tplfile provided by your account managerIn GTM, click Templates in the left hand menu
Under Tag Templates, click New
Click the three dot menu (top right) β Import
Upload the
.tplfileClick Save
The template is now available to use when creating tags.
Step 3) Get Your Conversion ID
In Lunio, go to System Settings > Integrations > Conversions
Click Create conversion and configure your conversion
Click Generate, then View in the Script column
Copy the Conversion ID β this is the ID value in the script e.g.
fff4eea5-079d-44a2-b861-99285cba77b3
Step 4) Create the Conversion Tag in GTM
In GTM, go to Tags β New
Click Tag Configuration
Select Lunio Conversion Tracking from the list (under Custom)
Fill in the fields:
Field | Required | What to enter |
Conversion ID | Yes | The ID copied from the Lunio dashboard |
Order ID | No | Your GTM order ID variable e.g. |
The Order ID field is recommended for ecommerce sites as it helps Lunio match conversions to orders. If you have a data layer variable for order ID, map it here.
Step 5) Set Your Trigger
The tag needs to fire when a conversion is completed. For example, on a purchase confirmation page, a form submission success page, or any other event you want to track as a conversion.
Click Triggering in the tag setup
Click the + to add a new trigger
Set up a trigger for your conversion event, for example:
Trigger type: Page View
Fires on: Page URL contains
/order-confirmation
Save the trigger
Step 6) Test and Publish
Test first:
Click Preview in GTM
Enter your website URL and complete a test conversion
Check the GTM Preview panel confirms the Lunio Conversion Tracking tag shows as Fired
Close preview mode
Publish:
Click Submit in GTM
Add a version name e.g.
Added Lunio conversion trackingClick Publish
Notes
This template is for web (client-side) GTM containers only
For any further help or questions, feel free to reach out to the support team
