如何利用Analytics Filter将特定着陆页归因至Kijiji引荐来源?
Alright, let's work through this problem. Kijiji's rel="nofollow noopener noreferrer" attributes are stripping the referrer header when users click through to your site, which means your Analytics tool can't detect Kijiji as the source for those clicks. The good news is you can use Analytics filters to force-attribution of your Kijiji-specific landing pages to Kijiji as the referral source. Below are step-by-step solutions for both Google Analytics 4 (GA4) and Universal Analytics (UA):
For Google Analytics 4 (GA4)
GA4 uses data transformations instead of the old UA-style advanced filters. Here's how to set it up:
Pinpoint your Kijiji landing pages
First, list the exact page paths your Kijiji ads link to (e.g.,/kijiji-exclusive-deal,/home-goods/sofa?kijiji-ad=spring-sale). These are the pages we'll target.Create a Lookup Table Transformation
- Head to your GA4 property, go to Admin > Data Display > Data Transformations.
- Click Create Transformation and select Lookup Table.
- For the Input Field, pick
page_path(this is the default dimension for your site's page URLs). - For the Output Field, select
source(this is what we'll override to "kijiji"). - Add rows mapping your Kijiji landing pages to the source value:
- Input value: Your exact landing page path (e.g.,
/kijiji-exclusive-deal) - Output value:
kijiji
- Input value: Your exact landing page path (e.g.,
- Repeat this for every unique landing page linked from Kijiji ads.
- Save the transformation and ensure it's enabled (toggle at the top right).
For Universal Analytics (UA)
If you're still using UA, you can use an advanced custom filter to override the referral source:
Navigate to the Filter Settings
- Go to Admin > View > Filters.
- Click Add Filter and name it something descriptive, like "Assign Kijiji Referral to Target Landing Pages".
Configure the Advanced Filter
- Select Custom > Advanced as the filter type.
- Set up the fields like this:
- Field A -> Extract A: Choose
Landing Page, then enter a regex that matches your Kijiji landing pages. For example:- Exact match:
^/kijiji-exclusive-deal$(matches only that exact page) - Wildcard match:
^/kijiji-.*(matches any page starting with/kijiji-)
- Exact match:
- Field B -> Extract B: Leave this blank.
- Output To -> Constructor: Choose
Referral Sourceand enterkijijiin the text box. - Check the box for "Field A Required" to ensure the filter only applies when the landing page matches.
- Select "Override Output Field" to replace the missing referrer data with your custom value.
- Field A -> Extract A: Choose
- Save the filter.
Key Tips to Keep in Mind:
- Test first: Always use the "Verify this filter" option (in UA) or monitor a small data subset in GA4 before applying the filter to all traffic—you don't want to accidentally mess up attribution for other sources.
- Be specific: Make sure your landing page targets are precise. Avoid broad regex patterns that might capture traffic from other sources.
- UTM parameters are more reliable: If Kijiji lets you add UTM parameters to your ad links (even with the
relattributes), that's a better long-term solution. Just append?utm_source=kijiji&utm_medium=cpcto your ad URLs—Analytics will capture these parameters regardless of referrer settings.
内容的提问来源于stack exchange,提问作者JoeYYC

