Skip to content

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
}
}

- (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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants