Skip to main content

Scenario

Your top landing pages are underperforming — high traffic but poor engagement or high bounce rates. You pull the worst-performing high-traffic pages from GA4, then use Mavera’s Generate endpoint to rewrite the copy for a specific audience segment, applying your brand voice. The result is refreshed landing page copy informed by actual performance data.

Architecture

Code

Example Output

Error Handling

GA4 reports landingPage as path only (e.g. /pricing), not full URLs. If you need to pass actual page content to Generate, fetch the page HTML separately or maintain a content map.
If BRAND_VOICE_ID is invalid, the Generate call returns 404. Omit the field to use Mavera’s default voice, or create a voice first via POST /api/v1/brand-voices.
GA4’s bounce rate = 100% minus engagement rate. A “bounced” session has no engagement events, lasts under 10 seconds, and has no conversions. This differs from Universal Analytics.

What’s Next

GA4 Integration

Back to GA4 integration overview

Conversion Path → Focus Group Validation

Validate funnel drop-offs with focus groups

Real-Time Audience → Trending Response

Diagnose traffic spikes in real time

Generate API

Full reference for POST /api/v1/generations