Create, publish and optimize pages with a drag&drop, pixel perfect and mobile-friendly builder

Speed up the creation process with 400+ customizable templates for landing pages, pop-ups and sections

Track microconversions in your Dashboard and analyze events and clicks with visual map

Integrate your pages with your favorite mar-tech apps and solutions to get the flow of your campaign going

Drive sales and conversions with irresistible product displays and seamless shopping experiences

Use a reliable and secure platform that smoothly handles millions of visits


Master digital marketing with the help from savvy professionals and increase your website’s conversions

Guides for beginners, set-up instructions and creation tips to get started and optimize your pages

A free online course for landing page creators! Learn the secrets of high-converting pages and become an expert

Get the answers you’re looking for – contact us

Schedule a one-on-one meeting with us and learn more about the benefits of our platform

Home Help Center Tracking any events – Universal Analytics

Tracking any events – Universal Analytics


If your landing page has a global website tag (gtag) implemented, you can track various events in Google Universal Analytics on any landing page elements, such as text or images – all you need to do is to copy the ID of this element to use it in JavaScript code for event tracking.

How to track an event on the chosen landing page element in Universal Analytics?

1. Log into your Landingi account and go to the editor of the landing page.

2. Select the item for which you want to track events – in our example, it is an image widget. Next, unfold the Other tab and copy the ID of the selected item in the side menu on the right.

3. Go to Dashboard > JavaScript Codes > Add script and paste modified code according to the following scheme as new JavaScript code.

$('#IDcopiedfromtheeditor').on('click', function () {
// begin of copied script:
gtag('event', 'click', {
'event_category' : 'images',
'event_label' : 't-rex'});
// end of copied script

In place of IDcopiedfromtheeditor, paste the ID copied from the editor and replace our sample snippet of code with your own one – in our case it is:

gtag ('event', 'click', {'event_category': 'images', 'event_label': 't-rex'});

Save the code in the Body bottom position.

To check Universal Analytics reports with events, log into your Google Analytics account and go to Behavior > Events > Overview.

Remember that events can be visible in Universal Analytics reports with up to 24-hour delay.