Code Monkey home page Code Monkey logo

Comments (8)

nonelse avatar nonelse commented on June 30, 2024

Hi. Thanks for the feedback.

The response delegate is triggered for all activities and not only for events. Meaning that, if you set up delegate just after the SDK launch, you'll be able to get the tracker information when the app is installed.

Post a comment if you have any question on how to use this, or I'll close the issue later.

Cheers,
Pedro.

from android_sdk.

T-Spoon avatar T-Spoon commented on June 30, 2024

Hey,

Cheers for the support.

Hmmm... Looking at the code for the receiver ReferrerReceiver.java, it seems as though nothing is triggered.

How I'm currently testing this is by sending a Broadcast via adb shell. Receiver code I initialize Adjust with a listener, and then the Adjust receiver gets called. But no callback is sent. The callback is triggered if I do a trackEvent after, but all data is null (except Network, which is 'Organic').

Am I missing something?

from android_sdk.

wellle avatar wellle commented on June 30, 2024

@T-Spoon: What you are describing is what we call deeplink attribution. This is currently not respected in the delegate callback response data, but we're working to improve that. We'll let you know when it's finished.

from android_sdk.

T-Spoon avatar T-Spoon commented on June 30, 2024

@wellle Ah okay cool. I thought I was being stupid and missing something. This is always a possibility :)

Good to know, thanks!

Just to confirm, currently there is no possibility of getting the tracker info for an install event from Adjust? This is something we should handle ourselves by setting our own Play Store referrer links.

from android_sdk.

wellle avatar wellle commented on June 30, 2024

@T-Spoon: You do get tracker info in install delegate callbacks.

  • That already works for normal click attributions.
  • It also already works for adjust clicks that have a deeplink attached.
  • It does not yet work for attributions based on deeplinks that were triggered by third parties (without a click on an adjust tracker).

Depending on what you're trying to achieve it might already work. You could contact [email protected] to check your use case.

from android_sdk.

T-Spoon avatar T-Spoon commented on June 30, 2024

@wellle Hmmm... Well it's definitely not working for me. But perhaps it's how I'm testing it...

What I'm doing is sending a broadcast (via am broadcast -a com.android.vending.INSTALL_REFERRER ...etc), with the data I get from the Adjust tracker link e.g. "referrer=adjust_reftag%3DcXA88Ch".

Should this not be enough to get the callback? Or is there some other way of testing this (before it goes live)?

Here's a code snippet of what we're doing:

public void onReceive(Context context, Intent intent) {
        Adjust.setEnabled(true);
        Adjust.setOnFinishedListener(new OnFinishedListener() {
            @Override
            public void onFinishedTracking(ResponseData responseData) {
                    .... // Send data to Mixpanel
                    .... // Not called in this instance
            }
        }
        new ReferrerReceiver().onReceive(context, intent);
        .... 
}

The receiver is called after the broadcast - but of course no callback is triggered.

I've been in contact with support - but it has not been very productive.

from android_sdk.

wellle avatar wellle commented on June 30, 2024

Again, that depends on your use case. What you're currently testing is not supported yet, but will be. What you want to test might actually still work in production, because the callback depends on the server response, not on the broadcast receiver.

from android_sdk.

T-Spoon avatar T-Spoon commented on June 30, 2024

Hmm... I guess we'll have to wait and see then. Not being able to test it is a major drawback though - looking forward to the update!

Cheers for the support!

from android_sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.