utm_source to the "Learn more" outbound link so you can see referral traffic in your own analytics if you use askmygp.com.au links elsewhere.Use a "Custom HTML" or "Embed" block. Paste the code above directly into that block. The widget will render immediately after saving.
WordPress (Gutenberg): Add a "Custom HTML" block โ paste code โ save.
Wix: Add an "Embed HTML" element โ paste code โ publish.
Squarespace: Add a "Code" block โ paste code โ save.
Paste the code anywhere in the <body> of your page. No JavaScript library required.
The widget sends its content height to the parent frame via postMessage as patients move through the 3 questions. Add this small script anywhere on your page to auto-resize the iframe:
clinic โ Practice name (max 80 chars, HTML escaped)accent โ Accent colour as hex without #, e.g. 0ea5e9theme โ light (default) or darkpartner โ Your tracking name, appended as utm_source on the outbound "Learn more" link (letters/digits/hyphens only)All parameters are optional. Missing parameters use safe defaults.
The same 3 eligibility questions as our full MyMedicare guide: (1) does the patient have a regular practice, (2) 2+ visits there in the past 24 months, (3) a Medicare or DVA card. Based on the answers it shows one of five outcomes โ fully eligible, eligible but needs a card, needs more visits, needs a regular practice first, or "probably eligible, check with reception" for unsure answers โ each with a link to register via myGov or learn more. It does not collect, store, or transmit any patient answers anywhere โ everything happens client-side in the visitor's browser.
The widget is free to embed on any Australian clinic website. Requirements:
MyMedicare registration supports your practice's funding position under the bulk billing incentive and the General Practice in Aged Care Incentive, and it unlocks longer funded telehealth for registered patients. A self-serve checker on your own site can nudge eligible patients toward registering without adding to reception's workload โ and filters out the patients who aren't eligible yet (no card, too few visits) before they call asking about it.
No. The widget runs entirely in the visitor's browser. Their answers are used only to compute which result screen to show and are never sent to AskMyGP, stored, or logged anywhere.
No โ MyMedicare is an Australian Government program specific to Australian Medicare. This widget will not make sense on a non-Australian practice website.