Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8040069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:46:32+00:00 2026-06-05T03:46:32+00:00

In the documentation for Google Analytics for Android it has a note saying: Note:

  • 0

In the documentation for Google Analytics for Android it has a note saying:

Note: Only one BroadcastReceiver class can be specified per application. Should you need to incorporate two or more BroadcastReceivers from different SDKs, you will need to create your own BroadcastReceiver class that will receive all broadcasts and call the appropriate BroadcastReceivers for each type of Broadcast.

While somewhat confusing there doesn’t appear to be a single element of truth in that statement. In particular you can have multiple receivers in an application and they work just fine. Other places have interpreted this to mean that you can’t have more than one receiver for a particular Intent action. However in my testing including on a Tablet/3.2 device as well as a G1/1.6 device I do see that all broadcast receivers for com.android.vending.INSTALL_REFERRER are indeed called.

I have implemented a receiver that will call others based on some config and was updating it use the PackageManager instead and get entries from the manifest, but this all appears completely unnecessary.

So what is the truth? Is the analytics doc a complete crock or is there some truth behind the note?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:46:35+00:00Added an answer on June 5, 2026 at 3:46 am

    Answering my own question. The Android system works perfectly well with multiple receivers for the same intent. It will call all of them as expected.

    Android Market/Play Store/Finsky has been deliberately written to not use standard Android practise and deliberately ensures that only the first one is called. Consequently you have to do the multiplexing as described on the analytics page, and not trust referral tester tools.

    This code in the onReceive method will let you find all the receivers.

    // clear out classname
    intent.setComponent(null);
    // do what Market/Store/Finsky should have done in the first place
    List<ResolveInfo> l=context.getPackageManager().queryBroadcastReceivers(intent, 0);
    

    Then look in the applicationInfo in each ResolveInfo, and use the name (after checking exported and enabled), and don’t call yourself.

    I’ve updated Referral Tester to match the Market/Store behaviour and make it easier to do testing of install referrers. See https://github.com/rogerbinns/referraltester

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is this true? Only one BroadcastReceiver class can be specified per application. Should you
In Google App Engine documentation for Channel API, it is stated that Only one
According to the Google App Engine documentation, writing to one entity group is limited
I am trying to use Google Analytics with a MonoTouch application (iPhone). It works
I've been tasked with implementing Google Analytics inside our (ASP.NET) application. Here is the
The documentation for Google Documents List API , seems to say that you can
I am trying to integrate Google Analytics in my Activities. As per the official
Hey I was following the documentation here: Google MapReduce class StationsBlobstoreHandler(webapp.RequestHandler): '''''' def get(self):
I'm currently implementing Google Analytics into my app. The documentation says nothing about how
I'm about to implement Google Analytics support in an Android app, but after some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.