-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
…e an action URL. Do this at impression time. (Initial implementation commit)
…cleaner code all-around
} else { | ||
FIRLogDebug(kFIRLoggerInAppMessaging, @"I-IAM400011", | ||
@"A test message. Record the test message impression event."); | ||
return; | ||
} | ||
} | ||
|
||
- (BOOL)shouldTrackConversionsOnImpressionForCurrentInAppMessage: |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Conversion tracking wasn't working for campaigns with no click-through URL. This change tracks conversions on these campaigns when the message is shown.