Welcome to Zuora Product Documentation

Explore our rich library of product information

Activate tracking for Zephr

Activate tracking to collect user interaction and conversion data for Zephr features by adding the required scripts and validating the setup in a staging environment.

  • Access to the website source code where Zephr tracking will be implemented

  • A Zephr tenant with tracking enabled

  • A staging environment for testing before production deployment

  1. Add the base tracking script to the <head> section of the page where tracking is required:
    <script type="text/javascript"
    src="//{region}.production.ai.zephr.com/{hostname}/SiteScript.js" async></script>
  2. Implement event tracking with predefined payloads. For each onsite action that needs to be tracked, implement the corresponding script/payload as shown in the table. Use the following action values as a reference when you are setting up these scripts, to ensure you are tracking the correct event:
    TypeAction Value

    Page Load

    21

    Paywall impression

    44

    Registration wall impression

    43

    Paywall click

    28

    Registration click

    70

    Paywall conversion

    151

    Registration conversion

    71

    Scroll

    46

    Hard/Fixed Paywall impression

    51

    Meter impression

    41

  3. Deploy the tracking scripts to your staging environment.
  4. Validate that events are being captured correctly by performing the tracked actions in staging.

Tracking is activated, and Zephr begins capturing user interaction and conversion events.

  • Deploy the validated tracking setup to your production environment.

  • Use the User Insights dashboards to analyze collected data.