How to Add Google Analytics 4 to Trimrly
Trimrly already gives you click data for every short link, bio page, and QR code you create. But click counts alone only tell you so much. They don't tell you where those visitors came from, what device they used, how they found you, whether they bounced immediately or spent time engaging, or whether a campaign that looks active in your link dashboard is actually contributing anything meaningful to your goals.
That's where Google Analytics 4 (GA4) comes in. Connecting your GA4 property to Trimrly layers behavioral data on top of your link performance data. Every page view on a redirect page, every visit to a bio page, and every QR code scan fires an event to your GA4 account. You can see traffic sources, session quality, engagement rates, and conversion paths all in one place.
Your GA4 Measurement ID is the unique identifier for your Analytics property. It always starts with G- followed by a string of letters and numbers, like this: G-XXXXXXXXXX
What Is Google Analytics 4?
GA4 is Google's current analytics platform, released as the replacement for Universal Analytics, which permanently stopped collecting data in July 2023. If you're still referencing older UA-based documentation, be aware that the interface, data model, and setup process are fundamentally different in GA4.
The most significant shift is that GA4 is entirely event-based. In Universal Analytics, sessions and page views were the primary units of measurement. In GA4, everything is an event. A page view is an event called page_view. A scroll past 90 percent of a page is an event called scroll. A click on an outbound link is an event called click. This model is more flexible and gives you a much richer picture of how users actually interact with your content.
GA4 also handles cross-device tracking differently from its predecessor. It assigns users a single identifier and follows them across devices and platforms, so if someone clicks a Trimrly short link on their phone and later converts on their laptop, GA4 can recognize that as part of the same user journey rather than two separate users.
Another notable change is the replacement of bounce rate with engagement rate. In GA4, an engaged session is one that lasts longer than 10 seconds, includes a conversion, or contains at least two page views. This is a more meaningful measure of whether someone actually found what they were looking for, compared to the old bounce rate which penalized you whenever a user read a page thoroughly and then left without clicking anything else.
Understanding Your GA4 Measurement ID
The Measurement ID is the connecting identifier between your website or app and a specific GA4 property. It tells Google which property to send data to when the tracking tag fires. Every GA4 property has at least one Measurement ID, and each data stream within that property has its own.
It's worth understanding what a data stream is, since it's a concept that doesn't exist in Universal Analytics. In GA4, a data stream is a source of data feeding into a property. You might have a web data stream for your website, an iOS stream for your app, and an Android stream for another app, all feeding into one GA4 property. For connecting to Trimrly, you'll need the Measurement ID from your Web Data Stream specifically.
The Measurement ID always follows the format G-XXXXXXXXXX. Don't confuse it with the Property ID (a numeric string found in your property settings) or the old UA tracking ID format (which started with UA-). Only the G- format works with GA4.
How to Find Your GA4 Measurement ID
Here's exactly where to find it inside your Google Analytics account:
- Sign in to analytics.google.com.
- Click the Admin gear icon in the lower-left corner of the screen.
- In the middle column under Property, click Data Streams. In some updated GA4 interfaces, this is under Data Collection and Modification.
- Click on your Web Data Stream (it shows a globe icon and your website URL).
- Your Measurement ID appears in the top-right corner of the stream details panel, formatted as
G-12345ABCDE. - Click the copy icon next to it or highlight and copy the full string manually.
No GA4 property yet? Go to the Admin area in Google Analytics, click Create Property, follow the setup prompts, and choose Web as your platform when creating a data stream. Your Measurement ID will be generated as part of that process.
How to Add Google Analytics 4 to Trimrly
Once you have your Measurement ID, adding it to Trimrly takes about two minutes:
- Log in to your Trimrly account. Not registered yet? Create a free account here.
- In the left sidebar, click Tracking Pixels under the Channels section.
- On the Add Pixel page, open the Pixel Provider dropdown and select Google Analytics.
- In the Pixel Name field, type a label you'll recognize, such as "GA4 Main Property" or the name of the site you're tracking.
- Paste your Measurement ID (for example
G-12345ABCDE) into the Pixel Tag field. - Click Add Pixel to save.
Once saved, Trimrly loads your GA4 tracking tag on all short link redirect pages, bio pages, and QR code landing pages. Every visit fires a page_view event to your GA4 property automatically.
What GA4 Tracks on Trimrly Pages
GA4 uses three levels of event tracking, each covering a different range of interactions. Understanding which level covers what helps you know what you're getting from the Trimrly connection without any additional setup, and what might require extra configuration if you need more granular data.
Automatically Collected Events
These fire on every page where GA4 is active, with no configuration needed. The most important one for Trimrly use is page_view, which fires every time someone loads a short link redirect page, bio page, or QR code landing page. You'll also get first_visit (first time a user visits) and session_start (the start of each new session) logged automatically.
Enhanced Measurement Events
GA4's Enhanced Measurement feature automatically tracks additional interaction types beyond basic page views, without requiring any extra code. When enabled in your GA4 property, it captures scrolls (how far down a page users get), outbound clicks (clicks to external URLs), site search queries, video engagement, and file downloads. Enhanced Measurement is on by default for new GA4 properties. You can verify it's active or customize which events it captures by going to Admin, then Data Streams, and opening your web stream settings.
Recommended and Custom Events
For specific conversion actions, like a signup completion, a form submission, or a purchase, you'll need to define those as conversion events inside GA4 or set them up through Google Tag Manager. In GA4, any event can be marked as a conversion with a single toggle. Go to Reports, click Events, find the event you want to count as a conversion, and turn the toggle on. That event will then appear in your Conversions report and start feeding into your goals-based reporting.
How to Verify GA4 Is Working on Your Trimrly Pages
Don't just trust that it's working. Take two minutes to confirm before you start analyzing data or making campaign decisions based on it.
The fastest check is GA4's own Realtime Report. In your GA4 property, go to Reports and click Realtime. Then open one of your Trimrly short link pages or bio pages in another browser tab. If the tag is firing correctly, you'll see the page view appear in the Realtime report within a few seconds. This is the quickest confirmation that the Measurement ID is correct and data is flowing.
For a more detailed diagnostic, use DebugView. In GA4, go to Admin and then DebugView. On the device you're testing with, add ?gtm_debug=x to the URL of your Trimrly page, or enable debug mode through the Google Analytics Debugger Chrome extension. DebugView shows you every event firing in real time, including the parameters attached to each one, which makes it easy to confirm not just that events are arriving, but that they're arriving with the correct data.
If nothing shows up in Realtime after five minutes, double-check that your Measurement ID starts with G- and that it was copied in full without any extra spaces.
Important Notes Before You Start
- Use the G- format Measurement ID only. GA4 Measurement IDs always start with
G-. If you're looking at an ID that starts withUA-, that's a Universal Analytics property, which no longer collects data. You'll need a GA4 property for this to work. - Copy the ID exactly as shown. The Measurement ID is case-sensitive and must be complete. A single missing character or extra space will prevent GA4 from receiving data from Trimrly pages. Copy it directly from your Data Stream settings rather than typing it manually.
- Give it a few minutes for data to appear in standard reports. The Realtime report updates immediately. Standard reports like Acquisition and Engagement typically reflect data within 24 to 48 hours. Don't be alarmed if your event counts look low on the day you set things up.
- Check that Enhanced Measurement is enabled. If you want automatic scroll, outbound click, and file download tracking on your Trimrly destination pages, confirm Enhanced Measurement is toggled on in your GA4 data stream settings. It's on by default, but worth verifying.
- Avoid sending data to a test property in production. If you used a test GA4 property while setting things up, make sure to update the Measurement ID in Trimrly to your live production property before you start running real campaigns. Data sent to a test property is usually not included in business reporting.
- Watch out for duplicate tracking. If you're also loading the GA4 tag through Google Tag Manager connected to Trimrly, don't add a second instance through the standalone Google Analytics pixel slot on the same pages. Two GA4 tags firing from the same Measurement ID will double-count every event and inflate your session and user metrics significantly.
Why Connect Google Analytics 4 with Trimrly?
Trimrly's built-in analytics show you click counts and basic traffic summaries. GA4 adds everything that comes after the click. Combining the two gives you a complete view of what happens at every stage of the journey, from the moment someone sees your link to what they do on your destination page.
Here's what that means across the different ways people use Trimrly:
- Short links in social posts and paid ads. GA4 shows you not just how many people clicked your Trimrly short URL, but which traffic source they came from, what device they were on, how long they stayed on the destination page, and whether they converted. You can split this by campaign using UTM parameters in your Trimrly links and see each campaign's performance as a separate traffic segment in GA4's Acquisition reports.
- Bio pages as analytics hubs. If your Trimrly bio page is the central link-in-bio destination for your social profiles, GA4 turns it into a proper analytics touchpoint. You'll see how many unique users visited, what percentage were new versus returning, how they scrolled through the page, which outbound link clicks fired, and what the traffic breakdown by country and device looks like.
- QR codes bridging offline and online data. Trimrly QR codes placed in physical locations, printed materials, or event collateral generate scans that are otherwise invisible to most analytics setups. With GA4 connected through Trimrly, every scan fires a page_view event. Adding a UTM source like "qr-code-event" or "print-flyer" to the destination URL means those visits appear as a distinct traffic source in your GA4 Acquisition report. You can compare offline campaign performance directly against your digital channels in one report.
- Understanding content performance across campaigns. Over time, GA4 builds a picture of which Trimrly links and pages generate the most engaged sessions, the best scroll depth, and the most conversions. That data shapes better decisions about where to invest: which platforms to focus on, which link destinations convert better, and which campaign angles resonate with your audience versus which ones drive clicks that bounce immediately.
If you need help with your GA4 setup or have questions about connecting it to Trimrly, the team is happy to help. Reach out here and we'll get back to you.
Related Articles
- Google Tag Manager
- Google Ads Conversion Tracking
- Facebook Pixel
- TikTok Pixel (Conversion Tracking)
- X (Twitter) Ads Conversion Pixel
- Pinterest Tag (Conversion Tracking)
- Snapchat Pixel (Conversion Tracking)
- Reddit Pixel (Conversion Tracking)
- LinkedIn Insight Pixel
- Bing (Microsoft Advertising) UET Tag
- Quora Pixel
- AdRoll Conversion Pixel