How to Add Google Analytics to Your Duda Website

August 29, 2022

Welcome to Duda Dojo with RivalMind, our all-things-Duda tutorial series. Today, we explore two important steps to tracking data on your Duda website:


  • Add your Google Analytics tracking code to your Google Tag Manager account
  • Ensure your Google Analytics tag is firing properly


As Universal Analytics is scheduled for discontinuation in July 2023, now is the perfect time to begin gathering data on your website before the switch to Google Analytics 4 next year. Refer to these sources to 
create a GA4 property and/or Google Tag Manager account, if you do not have these set-up yet.

Start in Google Analytics

 1. Start in the admin section of your Google Analytics account.


2. Select the property you would like to track. We already have a property and measurement ID established. If you do not have a property created, use the + Create Property button to make one and then resume these steps.


3. Navigate to Data Streams, and select the appropriate data stream to view Web stream details.


4. Copy the  Measurement ID.

Navigate to Google Tag Manager

Google Tag Manager “Untitled Tag” screen with Tag Configuration and Triggering panels open

If you do not have a Google Tag Manager account, we highly recommend creating one! Tag Manager is the best way to embed JavaScript tracking on your website. At RivalMind, all JavaScript tracking we employ is implemented through Tag Manager, including click tracking, conversion tracking, scroll tracking, and video tracking.


1. Click Add new tag. Every tracking code is comprised of a tag and must start here.

2. Rename the tag Google Analytics (or another name that will help you remember the purpose of the tag).


3. Click Tag Type, and select Google Analytics GA4 Configuration.


4. In Measurement ID, paste your Google Analytics ID.  


5. Make sure “Send a page view event when this configuration loads” is checked.

Google Analytics tag configuration screen with fields and settings panel
Google Meet page showing a centered microphone icon and prompt to join a meeting with audio disabled

6. Scroll to Triggering; click on Choose a trigger



7. In the top right corner, click the + to create a new trigger.

8. Rename your trigger Duda PageView Trigger


9. Select Choose a trigger type, and select Custom Event.

Popup menu titled “Choose trigger type” listing visibility, form submission, scroll depth, YouTube video, custom event, history change, and JavaScript error options.
Tiny screenshot of a web form with a text box and blue submit button, shown in a browser window

10. In the Event name text box, type “dPageView.” This is a Duda-specific page view trigger. Click Save.


11. Confirm that your Duda PageView Trigger has been added to the Triggering section of your Google Analytics tag. Click Save


12. In your primary Tag Manager view, click Submit. If desired, add a Version Name or Version Description to track your changes, then click Publish

Jump Into Duda!

1. Navigate to your Duda editor; select Settings – Head HTML. This is where your Tag Manager code will live – and, indirectly, our Google Analytics code will live here too. Paste your Tag Manager code into the top of the Body end HTML box.


2. Republish your site to push all your changes live. Now, Google Analytics, Tag Manager, and your Duda website should all be working together.

Web page titled “Body and HTML” showing code editor and site navigation sidebar

Head Back to Google Analytics to Test Your Connection

1.  In Google Analytics, navigate to Home to see real-time data.


2. 
Select Realtime overview.


3. Navigate to your live website.   


4. In your Realtime overview, you should see 1 current visitor on your website – that’s you! This provides confirmation that your code is working properly. 

Dashboard with menu sidebar, a large “1” metric, orange button, and small bar charts on the right

Are You Interested in More Duda Tutorials?

Did you enjoy this tutorial? For more like it, explore our YouTube channel or our Resources page to view past videos and stay updated on new videos. To request a Duda topic that you’d like to see us cover, give us a call at 331.228.9636 or complete our online contact form. We look forward to hearing from you!


As part of our comprehensive approach to website optimization, RivalMind offers
SEO services tailored specifically for Duda, ensuring that your content not only looks impressive but also ranks prominently in search engine results, driving more organic traffic to your site.

Looking for more organic website traffic?


Welcome to RivalMind. Our purpose is to help your business thrive. We are a digital marketing agency that offers SEO, PPC, Web Design, Social Media and Video Solutions as tools to our clients for online business development and growth.


Contact us today to get started!

Blog Contact Form

Connect With Us:

Common SEO Questions banner with rising bar chart and upward arrow in teal and green
By Andrew Novak February 23, 2026
Marketers and business owners interested in visibility on search engines like Google should know the basics of these digital marketing strategies.
Woman using a laptop on a tan couch with the text “Search Has Evolved. Has Your SEO Strategy?”
By Andy Francis December 16, 2025
AI-driven tools now deliver instant answers, pulling from multiple sources and returning synthesized responses. Google itself is pushing more zero-click results. The first visible answer is often the final one users engage with.
Woman pointing beside text: “The Algorithm Isn’t Broken, Your Strategy Is” on a blue-teal background
By Jessica Goodrum November 11, 2025
Unlock consistent growth with a cross-channel marketing strategy that unifies campaigns, strengthens customer trust, and drives measurable results across every platform.
Show More →