Using Google Ads / Analytics with HealthTech 1 Forms

There are a few steps we’d like you to help us wire everything up! We need some details for our system to recognise where to send events to, and to link up the users across multiple websites. To use our forms with Google technologies, we will be redacting any sensitive (PII) data as we want patient data to be protected.

⚠️ Google Ads / Analytics take time to establish campaigns and publish events. It may take up to 48 hours for data to appear in your report (excluding real-time data)! ⚠️

Google Ads

Find your Conversion ID, Label and Tag ID

This can be found by clicking into one of the conversion goals and clicking the “Use Google Tag Manager” picture.

image
image

Please also store the tag ID, which is also available on the “Install the tag yourself” section. It should look like AW-XXXXXX/xxxxxxxx

Enable enhanced conversion

  • Select checkbox (blue box in image)
image

Google Analytics

Find your measurement ID

To find the measurement ID, follow these steps:

  1. In Admin, under Data collection and modification, click Data streams.
  2. Select the Web tab.
  3. Click the web data stream.
  4. Find the measurement ID in the first row of the stream details.
  5. image

Enable enhanced measurement events

  1. In Admin, under Data collection and modification, click Data streams.
  2. Click the name of your data stream.
  3. Under Enhanced measurement, slide the switch On to enable all options. Click the cog to edit individual options as needed.
image

Both

Setup cross-domain linking

⚠️ This may need website changes on the practice website. ⚠️

  • Please add this snippet to your website if using gtag.js and Please replace the TAG_ID with your own that you found from the Ads or Analytics steps! First line and second to last has TAG_ID
  • For Analytics, it should look like G-XXXXXXX
  • For Ads, it should look like AW-XXXXXX/xxxxxxxx
<script async src="https://www.googletagmanager.com/gtag/js?id=TAG_ID"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('set', 'linker', {'domains': ['register-with-gp.ht1.uk']});  gtag('js', new Date());

  gtag('config', 'TAG_ID');
</script>

If you already have Google Tag Manager, you can try and setup via Google Tags: https://tagmanager.google.com/#/home.

⚠️ If you do not have GTM already setup, it will still require code changes ⚠️

  1. Select a tag that is for your website
  2. Select “Configure your domains”
  3. Add condition: register-with-gp.ht1.uk as the domain
  4. image
  5. In your website, go to the page that links to our form.
  6. Verify that the URL in the destination domain contains the linker parameter _gl. For example: https://register-with-gp.ht1.uk/?_gl=1*abcde5*.

Auto detect events (Google Tag)

If you use the Google tag on your website, you also need to make sure that each event is enabled for automatic event detection for your Google tag. By default, all event types are enabled. Learn more about your Google tag settings

Conversion Events

  • Please let us know how conversion events are configured for you!
  • We assume you use Sign up, but let us know if you use other fields or different event names to determine conversion events.

And now we wait 🍵

Let us know if you’re still not seeing data after 24-48 hours.