To configure Recite Me to send event data to your Google Analytics 4 (GA4) profile.
Steps:
-
Obtain GA4 Measurement ID:
- Locate and record the Measurement ID for the specific GA4 property where you want event data to be reported. This ID is found within your GA4 property's settings.
-
Modify Recite Me Implementation Code:
- Locate the
var options = {};
line within your Recite Me implementation code. - Replace this line with the following JavaScript object:
JavaScriptvar options = {
"Tracker": {
"Ga4": {
'enabled': true,
'TAG_ID': 'YOUR_MEASUREMENT_ID_HERE'
}
}
}; - Locate the
-
Replace Placeholder:
- Replace
'YOUR_MEASUREMENT_ID_HERE'
with the Measurement ID obtained in Step 1. - Ensure
'enabled': true
is set.
- Replace
-
Placement:
- Insert the modified
options
object into your Recite Me implementation code. Recommended locations are within the<head>
section or before the closing</body>
tag of your HTML.
- Insert the modified
-
Verification:
- After implementation, confirm successful data transmission by checking the real-time reporting section of your GA4 property. This can take up to 48 hours to filter through.
Important Notes:
- Accurate entry of the GA4 Measurement ID is crucial for correct data reporting.
- If you encounter any issues, contact our support team for assistance, customersupport@reciteme.com
- The 'Tracker' and 'Ga4' portions of the code are case sensitive and must be entered exactly as shown.