void updateLinkReferrerParams ( ) { // Add link identifier if present String linkIdentifier = prefHelper_ . getLinkClickIdentifier ( ) ; if ( ! linkIdentifier . equals ( PrefHelper . NO_STRING_VALUE ) ) { try { getPost ( ) . put ( Defines . Jsonkey . LinkIdentifier . getKey ( ) , linkIdentifier ) ; getPost ( ) . put ( Defines . Jsonkey . FaceBookAppLinkChecked . getKey ( ) , prefHelper_ . getIsAppLinkTriggeredInit ( ) ) ; } catch ( JSONException ignore ) { } } // Add Google search install referrer if present String googleSearchInstallIdentifier = prefHelper_ . getGoogleSearchInstallIdentifier ( ) ; if ( ! googleSearchInstallIdentifier . equals ( PrefHelper . NO_STRING_VALUE ) ) { try { getPost ( ) . put ( Defines . Jsonkey . GoogleSearchInstallReferrer . getKey ( ) , googleSearchInstallIdentifier ) ; } catch ( JSONException ignore ) { } } // Add Google play raw referrer if present String googlePlayReferrer = prefHelper_ . getGooglePlayReferrer ( ) ; if ( ! googlePlayReferrer . equals ( PrefHelper . NO_STRING_VALUE ) ) { try { getPost ( ) . put ( Defines . Jsonkey . GooglePlayInstallReferrer . getKey ( ) , googlePlayReferrer ) ; } catch ( JSONException ignore ) { } } // Check for Conversion from instant app to full app if ( prefHelper_ . isFullAppConversion ( ) ) { try { getPost ( ) . put ( Defines . Jsonkey . AndroidAppLinkURL . getKey ( ) , prefHelper_ . getAppLink ( ) ) ; getPost ( ) . put ( Defines . Jsonkey . IsFullAppConv . getKey ( ) , true ) ; } catch ( JSONException ignore ) { } } }
Update link referrer params like play store referrer params For link clicked installs link click id is updated when install referrer broadcast is received Also update any googleSearchReferrer available with play store referrer broadcast