All Collections
Using Lasso With Other Services
How to Connect Lasso to Google Analytics for Click Tracking
How to Connect Lasso to Google Analytics for Click Tracking

Lasso integrates with Google Analytics 4 to send click tracking data into your account.

Andrew avatar
Written by Andrew
Updated over a week ago

Connect Lasso with Google Analytics 4 (GA4)

Starting July 1, 2023, Google sunsetted Universal Analytics and replaced it with Google Analytics 4 (GA4).

If you were using Universal Analytics before, you'll likely need to update the tracking ID you use.

How to Find Out if You Are Still Using Universal Analytics

First things first, know your tracking IDs! The format has changed from what it was once like with Universal Analytics to GA4.

Here are examples of what your Universal Analytics tracking ID may have looked like:

  • UA-151782091

  • UA-173871192-2

Essentially, if it begins with UA- then you can be sure it's an old Universal Analytics tracking ID!

Where to Find Your Google Analytics 4 Measurement ID

Google Analytics doesn't use the term 'Tracking ID' anymore. GA4 uses the updated term 'Measurement ID' which is what we are looking for.

This is not the same as Property ID, or Stream ID, both of which are often mistakenly used and can be found in your GA4 account.

So let's go into the steps of where you should find your Google Analytics 4 Measurement ID:

Now you need to navigate to get to your Measurement ID.

Click on the gear icon for Admin:

Click on Data collection and modification:

Click on Data streams:

On the next screen, you should see your active data streams which you can open.

If you don't have a web data stream yet, click Add stream to create it:

Either way, once you have your web stream created, it should allow you to copy your Measurement ID:

GA4 Measurement IDs should always start with G- and not UA- like with Universal Analytics.

Now you can use this to integrate with Lasso!

Go back to your WordPress backend and open up Lasso > Settings:

On the Lasso Settings screen, you can enter your Measurement ID under Google Analytics:

Once that's done, there are three extra options here to decide on:

  • Click Tracking: This allows Lasso to send click data to GA4 so you will begin collecting data on which products get clicked and how (title, button 1, etc). If you want Click Tracking, this needs to be toggled ON!

  • Pageview: This allows Lasso to act as your regular Google Analytics integration and send pageview data to GA4. Use this if you don't have, or don't plan to, insert code injection for GA4 anywhere else. If you do already have GA4 code injected, leave this OFF.

  • IP Anonymization: When enabled, Lasso won't include IP addresses in the data it sends to GA4 to be GDPR compliant.

Are you still having any trouble with getting click tracking set up? Make sure to follow our troubleshooting steps guide here!

Note: While Universal Analytics isn't around anymore, we'll keep the below instructions for it for a while longer in case you need it!

Connect Lasso with Universal Google Analytics (GA3)

You should know if your affiliate links are getting clicked and where. What pages have your best performing affiliate links? What type of affiliate link gets more clicks?

More clicks mean it's working. More clicks usually means more money. So wouldn't you like to know what's going on with your links and where your money is being made?

Lasso integrates with Google Analytics and will send all click tracking data into your account so you can find out which links are being clicked and on what pages.

This works on all non-amazon links and all displays. We're working on adding in Amazon text link tracking soon.

In Lasso Settings>General, first enter your Google Tracking ID and enable click tracking by moving the toggle right to green.

You can find in your Google Analytics account by going to Admin>Property Settings

Once this is set, Lasso will start sending affiliate link click data to Google Analytics.

How Event Category, Event Action, and Event Label are set in Google Analytics?

Event Category = Lasso URL Name. This allows the Top Events report in Google Analytics to essentially show your top affiliate links. 

It's important to note that perhaps the most useful aspect of this assignment is its relationship to pages so you can see your best performing affiliate by page.

Event Action = How the "click" happened. Currently we support "Link Click" (link from a post), "Display Box" and "Direct" (no source available). 

We will rather easily be able to add in "Email" for clicks driven from MailChimp/ConvertKit.

Event Label = Typically this is the source of the event so we just use "Lasso". We may expand on this later to show clicks from specific links, if a click was enhanced through Lasso Cloud, etc. For now this is a meaningless attribute.

Did this answer your question?