Logo of UK retailer NEXT with text: "Google AdsGoogle Analytics

In our examples we will connect Google Ads to our Next.js website in vanilla way (without any additional plugins). Please note that we have GA4 account already connected.

# Part 1. Connect your Google Ads to your Google Analytics 4 (GA4) account {#part-1}

# Step 1. Connect you Google Ads account to Google Analytics 4: {#part-1-step-1}

In Google analytics go to Admin, choose your property and then click on Google Ads Links:



Analyzing tech data w/Google Analytics on-screen.

Press Link and add your Google Ads account.

# Step 2. Enabling Google Signals: {#part-1-step-2}

Go to Admin ---> Data Settings ---> Data Collection ---> Enable Google signals data



Electronic-device technology screenshot software enables rich analytics insights.

That`s it! Now you have to wait while Google Analytics starts to gather and display data from your Google Ads campaigns. Please note that it could take up to 3 days for data to start displaying in GA4 reports.

You`ll be able to see data from Google ads in you Reports snapshot:

  • Google Ads as a source;
  • cpc as a medium;
  • Paid search as a default channel grouping


Blue rectangles plot numbers to show user acquisitions: Paid Search, Organic


Statistics showing new user & top campaign sources, represented with circles, rect

# Part 2. Connect your Google Ads account to your website {#part-2}

# Step 1. Get Global site tag code {#part-2-step-1}

To find you code in Google Ads go to Tools and settings ---> Global site tag



Tech software to increase global reach & plan performance:Google Ads Global site

# Step 2. Add Global site tag code to you website {#part-2-step-2}

For Next.js paste the code in _document.tsx file:



A tech-savvy font screenshot displaying Google Ads config w/software

# Part 3. Add and set up Google Ads conversions {#part-3}

# Step 1. Adding Conversions in Google Ads {#part-3-step-1}

Go to Tools and settings ---> Conversions and click New conversion action.

For a website we usually need to add conversion manually.



"Tech-savvy user makes electronic payments via software rectangles and


Tech screenshot of a software with parallel numbers, fonts, & azure


Track conversions with Azure rectangular font software on electronic device.


Screenshot of web page showing software setup for measuring visits to key pages.

You can find info on how to setup conversion in Google Ads documentation

After setting up a conversion you`ll see it in the conversions screen:



Software tech empowers value-based conversions to maximize profits (#Product,

# Step 2. Adding Google Ads conversions to a website: {#part-3-step-2}

To get gtag code of conversion, click on the Conversion name ---> Tag setup ---> Install the tag yourself.

Follow instructions and cope conversion code snippet:



Rectangle/Font/Parallel/Screenshot/Technology/Number/

For example, in our code we`ve created a function which sends the conversion event. And this function is called on particular button click



"Logo in darkness w/ tire, plant, multimedia for Export


Blue sky, Font disp below Rect & Circle, Brand Signage on


Dark bg, multimedia rect. enables click actions on auto-parts

To see if conversions were verified, try to trigger these events, and then check their status in Google adds in 3 hours:

No resent conversions means that you conversion was verified and will be displayed as soon as conversion action happen



Rectangle w/ # pattern, text & symbols; "+NEW CON


Rectangle font screenshot illustrating number pattern & text:"NEW CONVERSION ACTION
background

Lightning-Fast Site, Awesome Conversion