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

Track conversions on in-app message campaigns without a clickthrough URL #7306

Merged
merged 5 commits into from
Feb 4, 2021

Conversation

christibbs
Copy link
Contributor

Conversion tracking wasn't working for campaigns with no click-through URL. This change tracks conversions on these campaigns when the message is shown.

…e an action URL. Do this at impression time. (Initial implementation commit)
@google-oss-bot google-oss-bot added the api: inappmessaging Firebase In App Messaging label Jan 14, 2021
} else {
FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM400011",
@"A test message. Record the test message impression event.");
return;
}
}

- (BOOL)shouldTrackConversionsOnImpressionForCurrentInAppMessage:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this also include that the message should have conversion event defined?

If it doesn't we don't need to track it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We weren't checking on a conversion event previously, from comments (and piecing together the code) it looks like we currently always track the conversion and then presumably handle reporting on the backend. Do you think we need to check for this now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're waiting on Analytics to confirm how to proceed.

@christibbs christibbs merged commit 30e6cae into master Feb 4, 2021
@christibbs christibbs deleted the fix-conversion-tracking branch February 4, 2021 20:47
@firebase firebase locked and limited conversation to collaborators Mar 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: inappmessaging Firebase In App Messaging cla: yes
4 participants