On this page
What this issue is
Your site has a button such as Get the app that opens Google Play or the Apple App Store. Those links are often the bare listing address. A bare link carries no campaign information.
Google Play reads a referrer parameter and passes it to the app after install (the Install Referrer). The App Store uses a provider ID pt and a campaign token ct in the link, which App Store Connect reports under Campaigns in App Analytics. Without these, neither store can say which page, ad or email produced the install.
| Store | Parameter | What it does |
|---|---|---|
| Google Play | referrer=utm_source%3D... | Passes URL-encoded UTMs to the app after install |
| Apple App Store | pt=PROVIDER_ID | Your App Store Connect provider ID |
| Apple App Store | ct=campaign_name | Campaign token shown in App Analytics (up to 100 characters) |
| Either store | Attribution tool link | Adjust, AppsFlyer, Branch or Firebase link that sets these for you |
Why it costs you leads or sales
Installs still happen, but you can't see which channel earned them. Ad platforms can't optimise toward installs they never see, and you may cut a campaign that works or keep paying for one that doesn't.
Example: 100 installs from a paid campaign. With a bare store link most show as organic; with campaign data most are attributed.
- Ad clickUTMs on landing page URL
- Landing pageVisitor taps Get the app
- Store linkNo referrer, no ct/pt
- InstallShown as organic
- AttributionChannel unknown
The link to the store carries no campaign, so everything after it is unattributed.
How to check if your site has it
Find every store link
Check header, hero, footer, pop-ups, email-capture pages and any smart banner. Search page source for play.google.com and apps.apple.com.
Read the URL
A Google Play link should contain
referrer=. An App Store link should containct=and, for App Analytics,pt=.Check attribution-tool links
If the button points to an Adjust, AppsFlyer, Branch or Firebase link, confirm it includes your campaign settings and redirects to the right store.
Tap it on a phone
Open the page from a campaign URL on a real device and see which URL the store receives.
How to fix it
Pick one approach. If you use an attribution tool, use its link. If not, add the store parameters yourself.
<!-- Google Play: referrer value must be URL-encoded -->
<a href="https://play.google.com/store/apps/details?id=com.example.app&referrer=utm_source%3Dwebsite%26utm_medium%3Dbutton%26utm_campaign%3Dspring_launch">Get it on Google Play</a>
<!-- App Store: pt = provider ID, ct = campaign token -->
<a href="https://apps.apple.com/app/id1234567890?pt=123456&ct=website_button&mt=8">Download on the App Store</a>Edit the button
In the block editor, select the button, open the link field and paste the full URL with parameters. Check theme headers, widgets and page builder templates too.
Update theme links
In Online Store > Themes > Customize, change the button link in each section. For hard-coded links, edit the theme code under Edit code.
Change the link settings
Select the button, open Element settings, choose URL and paste the full link. Repeat for symbols in the navbar and footer.
Edit the button link
Select the button, click the link icon, choose Web Address and paste the full URL with parameters.
Edit the button
Click Edit on the button block, set the link to the full URL, and check the footer and header too.
Prefer fixing the source
Fix the link in the page itself. A GTM script that rewrites hrefs is fragile and can miss links added later.
Edit templates
Search your templates for play.google.com and apps.apple.com and replace each with the campaign version. Store the base URLs in one config value.
How to confirm it's fixed
- Every store link on the site contains
referrer=(Google Play) orct=(App Store), or uses your attribution link - The Google Play referrer value is URL-encoded
- The links open the correct app on a real iPhone and Android device
- A test install shows the campaign in your attribution tool or App Store Connect after its normal reporting delay
- Each placement uses its own campaign value
How to prevent it happening again
Keep store URLs in one shared component or setting so new pages inherit the campaign parameters. Add a link check to your launch checklist for every new landing page, and re-check after theme, page builder or app updates.
How FunnelGuard handles this
FunnelGuard detects this issue. Its app store link campaign check looks at the store links in your journeys and flags those that carry no campaign data, such as a Play referrer or an App Store campaign token. A failure is re-checked from a second region before one alert goes out with a screenshot and a likely cause. FunnelGuard checks the link itself; it does not read your App Store Connect or attribution reports. The Free plan covers 1 site and 2 journeys with daily checks, and paid plans have a 3-day free trial.
Frequently asked questions
Questions people ask
Why are my app installs showing as organic?
Often because the store link on your site has no campaign data. Without a Google Play referrer or an App Store ct token, the store and your attribution tool can't tie the install to a campaign, so it falls into organic or unknown.
How do I add UTM parameters to a Google Play link?
Add a referrer parameter to the Play URL and put your UTMs inside it, URL-encoded. For example &referrer=utm_source%3Dwebsite%26utm_medium%3Dbutton%26utm_campaign%3Dspring_launch. Putting plain UTMs on the Play URL itself does not pass them to the app.
What are pt and ct in an App Store link?
pt is your provider ID and ct is a campaign token you choose. App Store Connect uses them to group installs by campaign in App Analytics. Add both to the apps.apple.com link.
Do I still need these parameters if I use AppsFlyer, Adjust or Branch?
Usually you use the tool's own link instead, which sets the store parameters for you. Make sure the button uses that link and not the bare store URL.
Why does my Google Play referrer not show up?
Common causes are a referrer that isn't URL-encoded, a link rewritten by a redirect, or an app that doesn't read the Install Referrer. Test with a fresh install on a real Android device.
Can I check my store links automatically?
Yes. FunnelGuard runs a scheduled check on the store links in your journeys and alerts you if they carry no campaign data.
Does a campaign token change what the visitor sees?
No. Visitors land on the same store listing. The parameters only travel with the link for reporting.
Related issues
- APP-005Landing page UTMs or click ids not passed into the store linkFix guide
- APP-016Attribution link (Adjust, AppsFlyer, Branch, Firebase) broken or sending to the wrong storeFix guide
- APP-018Deferred deep link loses the campaign or destination after installFix guide
- APP-006iPhone visitors sent to Google Play (or Android visitors to the App Store)Fix guide
- APP-001App Store or Google Play link opens the wrong or an old appFix guide
- APP-002App removed from the store (listing not found) while the site still links to itFix guide