Before you start
Aesthera enables tracking and supplies the tracked embed. Your website team installs it, and your ads team manages the Google Ads action and website’s GTM container. No Google tag needs to be installed inside the Aesthera iframe.
Confirm the website address
Send Aesthera the website addresses where the widget runs, such as https://www.clinic.example. All pages on that HTTPS origin share one approval; individual page paths are not required. A different subdomain or non-www address needs its own entry. The full published URL is useful when checking an installation.
Install the tracked embed
Use the full iframe and helper script from the installation guide, keeping each page’s treatment and campaign parameters. Saving settings in Aesthera does not change HTML already on your website. The helper relays the iframe’s postMessage into the parent page’s data layer.
Configure Google Tag Manager
Install your GTM container on the website containing the widget. Obtain the Conversion ID and Conversion Label from your Google Ads website conversion action. Configure the following in that container.
| GTM item | Configuration |
|---|---|
| Custom Event trigger | Event name: aesthera_lead_submitted |
| Data Layer Variable | Name it Aesthera conversion ID. Set Data Layer Variable Name to aesthera_conversion_id. |
| Google Ads Conversion Tracking tag | Enter your action’s Conversion ID and Conversion Label. |
| Tag → Transaction ID | Select {{Aesthera conversion ID}}, the variable created above. |
| Tag → Triggering | Select the aesthera_lead_submitted custom event trigger. |
Confirm the Google tag and consent setup
Your ads team should confirm auto-tagging, the website’s Google tag or Conversion Linker setup, and the site’s consent configuration. Follow Google’s guidance for your container; a separate Conversion Linker is not required when the appropriate Google tag already loads on every page.
Launch check with your ads team
- Open GTM Preview and connect to the published page containing the widget.
- Generate a preview and open the contact form. The Aesthera lead conversion tag should not have fired yet.
- Submit a test inquiry. Under consent conditions that permit the tag, expect one aesthera_lead_submitted event and one conversion tag fire. Confirm Transaction ID contains the supplied conversion ID.
- Have the clinic confirm receipt of the test inquiry. Publish the GTM changes after the check passes.
What a successful check confirms
The event confirms that Aesthera saved the inquiry. The clinic’s receipt confirms lead delivery, and Tag Assistant confirms the website tag fired. Credit to an ad campaign still depends on an eligible ad interaction and Google Ads processing; a test form submission alone does not prove that attribution.
Event reference and troubleshooting
The event contains only its name and an opaque conversion ID. It does not contain contact fields, photos, or treatment selections. Inspect it in the containing page’s console, rather than the iframe’s console.
- No event: confirm the tracked iframe and helper script are installed, tracking is enabled, and the exact website origin is approved.
- Event present but no tag fire: check the custom event name, tag trigger, consent state, and browser blocking in Tag Assistant.
(window.dataLayer || []).filter(
item => item.event === 'aesthera_lead_submitted'
)