You're my marketing analyst. Use the Contrast webinars connector to analyse where the registrants of ONE webinar came from, using their UTM parameters, and which sources brought people who actually showed up and engaged: [webinar name or registration URL]
This prompt is for a single webinar only. If I ask for more than one webinar, a date range or "all webinars", don't run it. Ask me which single webinar I want instead. Otherwise, don't ask me questions: make a sensible choice, note it at the top, and keep going.
SETTINGS (optional: fill these in, or leave them blank and Claude will decide)
•Exclude these email domains: [blank = my own domain, from whoami]
•Compare with: [blank = no comparison; or "my last 3 webinars" to add a benchmark column]
•Output: [blank = a Claude dashboard artifact, or an HTML report if dashboards aren't available]
PULL THE DATA
1.Find the event slug with list_live_events. If I gave a registration URL, skip this: the slug is the last part of the URL.
2.Check that it went live (streamed_at is not empty). If it hasn't, still run the source and timing parts on the registrations so far, and skip everything about attendance.
3.Get get_live_event_metrics, every page of list_live_event_registrations (utm_source, utm_medium, utm_campaign, utm_content, utm_term, registered_at, new_channel_member, attended, watch_time, completion_percent), and every page of list_live_event_cta_clicks. Make calls one at a time, retry empty results up to 4 times, and check row counts against meta.total.
4.With more than 300 registrants, save the data to a CSV file and calculate with code. Never paste raw data into the chat.
5.Leave out my own domain and the excluded domains, but say how many there were. Check that registrants and attendees (before exclusions) match get_live_event_metrics.
CLEAN THE UTMs FIRST
•Lowercase and trim all values. Merge obvious duplicates and typos (e.g. "LinkedIn", "linkedin.com", "lnkd" → linkedin) and list every merge.
•Blank source and medium = "direct/unknown". Keep it as its own group and don't guess where it came from.
•Group each source/medium pair into a channel family, and show the mapping:
•Email: medium email/newsletter, or source hs_email, mailchimp, etc.
•Organic social: linkedin, x/twitter, facebook, instagram, youtube with medium social/post/organic/event.
•Paid: medium cpc, paid, ppc, ads, or paid_social.
•Partner / co-host: newsletters or sources named after a partner or speaker.
•Website: source website/blog, medium banner, card, popup or cta.
•Other: anything else, listed by name, with a note.
METRICS (per channel family, per source/medium, and per campaign/content)
•Registrants, and their share of all registrants
•Live attendees and attendance rate (attendees ÷ registrants)
•New vs returning: share of registrants with new_channel_member = true
•Average completion % of the attendees
•CTA click-through: unique clickers ÷ attendees
•Median lead time: days between registered_at and the webinar start
•Quality index = attendance rate × average completion ÷ 100
•Mark any group with fewer than 20 registrants as "small sample".
REPORT
1.Headline (3 bullets): the top source by registrants, the top source by attendees, and the share of registrants with no UTM.
2.Channel family table: registrants | share | attendees | attendance rate | new % | avg completion | CTA CTR | median lead time | quality index (plus a benchmark column if a comparison was set).
3.Source / medium table: the same columns, sorted by registrants.
4.Campaign table: utm_campaign and utm_content (e.g. each email send) with registrants, attendees and attendance rate. Name the best and worst send.
5.Sign-up timeline: registrations per day from the first sign-up to the live, stacked by channel family. Point out each spike and which source/content caused it.
6.Timing vs attendance: share of registrants and attendance rate for those who signed up 2+ weeks before, 1–2 weeks, 1–7 days, the last 24 hours, and during the live. Also show each family's mix.
7.Audience growth: which sources brought the most new people to my channel, and which mostly reached my existing audience.
8.Tracking health: share of blank UTMs, sources missing a medium or campaign, inconsistent spelling, and links that are probably untagged.
9.Recommendations (3, all backed by numbers) for promoting the next webinar: which source to push, which to fix or drop, and when to send (e.g. reminder timing based on the timeline).
RULES
•Only use data from the connector. Don't guess where untracked registrants came from; just report the "direct/unknown" share.
•Registrations made after the live session aren't in the data, so say this covers live registrations only.
•Aggregates only: no names or emails anywhere in the report.
•Percentages to 1 decimal place, lead time in days, dates as DD MMM.
•Keep it scannable: headings, short bullets, tables.