All Collections
Marketing your Site
Adding Google Analytics (GA4) using Measurement ID
Adding Google Analytics (GA4) using Measurement ID

It is now possible to add the new GA4 code directly to your site. This is mandatory from 1 July 2023.

Updated over a week ago

Video overview

Website URL in video

The Format site address shown in this video was https://naturephotography.format.com which is the free address that is unique to each Format site.

If you have your own custom domain name, and this is connected correctly, please use this when adding your Website URL to set up the data stream. An example would be https://www.janedovercourt.com (as shown in the screenshots below)


Access Google Analytics

  1. Click 'Set up for free' if you do not already have a Google Analytics account


Analytics Account Setup

  1. Add your 'Account name'

  2. Select the data sharing options you agree to

  3. Click 'Next'


Property Setup

  1. Enter the Property name, it should be easy to identify as being your Format site

  2. Select your Reporting time zone

  3. Select Currency

  4. Click 'Next'


About your business

  1. Select Industry category

  2. Select Business size

  3. Select number of checkboxes that relate to you

  4. Click 'Create'


Agree to Terms of Service

  1. Google Analytics Terms of Service Agreement heading

  2. Select your Country/Region

  3. Read and select checkbox for Data Processing Terms

  4. Read and select checkbox for Measurement Controller-Controller Data Protection Terms

  5. If you agree with everything you have read, click 'I Accept'


Email Communications

  1. Read and select any checkboxes for email communications from Google Analytics then click 'Save'


Set up Data Stream

  1. Under 'Admin' tab you will see the Property you named previously

  2. Go to 'Data Streams'

  3. Select 'Web'

  1. Enter the Website URL, it should be the full, correctly connected Secure URL with https://www.domainname.com (example)

  2. Set the Stream name

  3. Click 'Create stream'


Select Enhanced Measurement options

  1. Enable toggle for any information you want to collect additional data on and click 'Save'


Web stream details – Copy Measurement ID

  1. Check the Stream URL is correctly displaying as https://www.domainname.com

  2. The Measurement ID will be shown here.

  3. Please Copy this code (i.e. G-123456789 )


Return to your Format Dashboard

  1. From the left sidebar under Portfolio, navigate to Marketing

  2. Click Google Analytics

  3. Paste your Measurement ID code in here and ensure this has been Saved.

Google Site Tag (gtag.js)

Code snippets for the Measurement ID that may have been added prior to 22 June 2023 to the <head> area will still work in exactly the same way.


Return to Google Analytics

  1. Stream URL will show

  2. Status will show no data received in past 48 hours

  3. Close panel

  1. Your Data Stream should now show as being completely set up

  2. It is unlikely that any statistics will be gathered in the first 48 hours after connecting.

Please see the range of Help Articles provided by Google Analytics to further understand and configure so that you get the best statistics possible.


Reach us online at our live chat or via our email info@format.com if you have any more questions. We’re happy to help!

Did this answer your question?