Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to track app installs #442

Open
thibautRTE opened this issue Dec 13, 2023 · 7 comments
Open

Add the possibility to track app installs #442

thibautRTE opened this issue Dec 13, 2023 · 7 comments

Comments

@thibautRTE
Copy link

Hello,

My mobile application is available on IOS and Android.
For IOS, when navigating to the graph in the Matomo Dashboard, the number of IOS application download remains on 0.
Whereas it is working fine for Android.
Can you give me the parameters that need to be set to have this information available

2023-12-13 18_30_21-éCO2mix iOS Production - 2023-12-12 - Rapports des statistiques web - - Profil 1

Thanks

@brototyp
Copy link
Member

Hi @thibautRTE, does this issue still exist? Can you share more on what you are doing on the iOS application?

@florismettey
Copy link

florismettey commented Mar 25, 2024

Hello @brototyp ,
I got the same issue here.
Android downloads display correctly whereas iOS download are always 0.

Context:
The app is distributed on the App Store
I'm using version 7.4.0 (pod 'MatomoTracker', '~> 7.4')
We are able to get other tracking data (like custom events) and to display it on Matomo dashboards

Here is our code:

- (MatomoTracker*) getTracker {
    if (self.tracker == nil) {
        self.tracker = [[MatomoTracker alloc] initWithSiteId:self.siteId
                                                     baseURL:self.URL
                                                   userAgent:nil];
    }
    return self.tracker;
}

+ (void)trackScreenDisplay:(NSString*)tag mode:(NSString*)mode {
    if (tag && mode) {
        [[[MatomoService shared] getTracker] trackWithView:@[mode, tag]
                                                       url: nil];
    }
}

[RTEMatomoAnalyticsService trackScreenDisplay:@"Parameters" mode:@"test"];

Android:
Capture d’écran 2024-03-25 à 10 55 54
iOS:
Capture d’écran 2024-03-25 à 10 56 04

@brototyp
Copy link
Member

brototyp commented Apr 3, 2024

Interesting. Thanks for the update @florismettey. Can you tell me how you get to this functionality in Matomo? On my instance, I am only gettin the visits, but no installations at all. Did you have to enable something specific?

Bildschirmfoto 2024-04-03 um 14 39 25

@florismettey
Copy link

I don't know exactly. I will try to ask the question to the people who configured it. From what I found, it seems to come from this menu:
Comportement (Behavior) => Téléchargements (Download)
On Android, we got some data but not on iOS
Capture d’écran 2024-04-03 à 15 07 55

Capture d’écran 2024-04-03 à 15 20 02

@brototyp
Copy link
Member

brototyp commented Apr 4, 2024

Ah! I think Behavior – Download are things downloaded from within the Application or from the website. Looking at the tracking API, there is a download where one could pass on a URL.

This is currently not implemented on the iOS SDK side.

@brototyp brototyp changed the title Not able to see the number of application download for IOS Add the possibility to track app installs Apr 4, 2024
@CamilleSQLI
Copy link

Hello,

Thank you very much for your help.
Do you know if this implementation in the iOS SDK is planned ?

Regards,
Camille

@brototyp
Copy link
Member

Hey @CamilleSQLI, I don't have it planned right now. But it's an interesting feature I think is worth adding to the iOS SDK as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants