Skip to content

Commit 9ce04b5

Browse files
authored
[Analytics] Add InitiateOnDeviceConversionMeasurementWithEmailAddress (#328)
* Call InitiateOnDeviceConversionMeasurementWithEmailAddress in the analytics testapp. No code change necessary since swig autogenerates this method. * updated release notes readme
1 parent ef79aa6 commit 9ce04b5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

analytics/testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ public virtual void Update() {
5959
void InitializeFirebase() {
6060
DebugLog("Enabling data collection.");
6161
FirebaseAnalytics.SetAnalyticsCollectionEnabled(true);
62+
DebugLog("Initiate on-device conversion measurement.");
63+
FirebaseAnalytics.InitiateOnDeviceConversionMeasurementWithEmailAddress("[email protected]");
6264

6365
DebugLog("Set user properties.");
6466
// Set the user's sign up method.

docs/readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ Release Notes
160160
- General: Added a missing namespace to the Google.MiniJson.dll.
161161
- Functions: Add a new method `GetHttpsCallableFromURL`, to create callables
162162
with URLs other than cloudfunctions.net.
163+
- Analytics (iOS): Added InitiateOnDeviceConversionMeasurementWithEmail function to facilitate the
164+
[on-device conversion measurement](https://support.google.com/google-ads/answer/12119136) API.
163165

164166
### 9.0.0
165167
- Changes

0 commit comments

Comments
 (0)