For this make CustomReceiver and from that send intent to google CampaignTrackingReceiver in GoogleAnalyticsv4.
By this you will get CampaignFound in logs
public class CustomCampaignTrackingReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
new CampaignTrackingReceiver().onReceive(context, intent);
}
}
ok this thing works just fine. I was looking under Apps-overview in Google Analytics. Reports are not generated there in realtime. There is an specific tab for real-time reports under Google Analytics. This is where we need to see.