Download the ebook now

Thankyou for sharing the details. Here is your ebook on "Top questions people ask about Server Side Tagging".
Oops! Something went wrong while submitting the form.
Blog
GTM
A step-by-step guide to tracking Marketo form with Google Tag Manager
GTM

A step-by-step guide to tracking Marketo form with Google Tag Manager

By
4 min read
April 7, 2023

Out of the total websites in the world, more than 40% are built using WordPress. That’s a huge number for any CMS platform and hence, there is a great chance that your website is built using WordPress. Also, you probably use the WordPress Contact Form 7 plugin for your website's contact us form.

So tracking of WordPress contact form 7 is extremely important.

We will show two ways to track WordPress contact form 7

  • Traditional Google tag manager way that would take a lot of time.
  • and Tagmate way! ( No Code set up and fast way) 😲
Key Takeaways
  • Lorem ipsum
  • dolor sit
  • amet consectetur
  • Quam turpis pharetra
  • ut at cras non quis consectetur
  • sit cursusVel fermentum
  • posuere cras, diam est
  • nunc aliquet.

Marketo is arguably one of the best acquisitions made by Adobe and it is getting increasingly popular among SMEs due to its unique features like sales partnership, cross-channel engagement, and content personalization. It also helps businesses automate experiences and personalize content and no doubt, it is gaining traction in 2023.

Being a relatively new platform for most companies, sometimes, marketing teams end up tearing their hair out due to the learning curve. While managing contacts and running campaigns is relatively simple, tasks like tracking Marketo forms using Google Tag Manager are extremely challenging.

To help our broad reader base, I have decided to create an actionable guide to help you set up Marketo forms on your website with the help of Google Tag Manager (GTM).

Let’s get started:

How to track Marketo form submission

Marketo form submission can be tracked in many ways:

  • Thank you page - After form submission, if a different web page appears with a message (e.g. Thank you), a web page having a URL similar to somwebsite.com/thankyou.html
  • with the data layer/listen layer in Google Tag Manager.

Marketo Form  Events

Marketo forms give event names of different types and here is the complete list:

Track Marketo form using the data layer in Google Tag Manager

Step 1: Create a Container and Workspace in your Google Tag Manager account

Pro TIP: Create a new container and user ‘Default Workspace’

and if you have already having container and workspace then skip this step.

Step 2: Copy the Data Layer Snippet

Step 3: Create a Custom HTML Tag

  • Go to ‘Tags’ > Click on ‘New’

  • Select Tag type > Custom HTML

  • Paste the code snippet (step 2) here

  • Select Trigger type > All Pages

  • The final configuration of the custom HTML tag looks like this

Step 4: Create a Custom Event

  • Click on ‘Triggers’ > Click on ‘New’

  • Select the ‘Custom Event’  trigger type

  • Configure custom event

    - Give meaningful name
    - Enter event name = mkto.form.success
    - This tag fires on = all custom events
    - Click on ‘Save’

Step 5: Create a Data Layer Variable

  • Go to ‘Variables > Click on ‘New’

  • Go to ‘Variables > Click on ‘New’

  • Configure data layer variable

    - Give a meaningfull name
    - Set data layer variable name = mkto.form.id
    - Click on ‘save’

Step 6: Create Configuration Tag

Hope you know this step if not please make a configuration tag for GA4

  • Go to Tags > New > Select Configuration tag

  • Enter the measurement ID of the data stream of GA4

Step 7: Create GA4 Event Tag

  • Go to Tags > New > Select GA4 event tag
  • Set configuration

    - Set configuration tag
    - Set event name (give meaningful name)
    - Set the event parameter as form Id and select form id’s data layer variable
    - Set custom event trigger that is created

Step 8: Preview Tag / Debug tag

  • Click on ‘Preview’ and start preview / debug mode

  • Check the ‘mkto.form.submit’ event  and check tag is fired or no

Step 9: Test data in GA4

  • Open your Google Analytics account > Locate Property which is configured in the configuration tag

  • Check the event name

  • Check form Id

Wrap Up

It can be difficult to keep track of all of your lead activities across several marketing platforms (such as Google Ads, Facebook Ads, LinkedIn, and Google Analytics), especially when there are several Marketo forms and different sales and marketing operations teams involved.

It does seem a very lengthy process! but Tagmate’s pre-built templates help you create tags, triggers, and variables with just a few clicks.

Frequently Asked Questions

Lorem ipsum dolor sit amet consectetur?

Lorem ipsum dolor sit amet consectetur. Viverra ut feugiat id ipsum morbi. A ipsum massa consequat ut urna vestibulum enim. Mauris id dignissim eu donec. Nibh urna eu nisl volutpat ut purus amet habitant fermentum.

Lorem ipsum dolor sit amet consectetur?

Lorem ipsum dolor sit amet consectetur. Sodales pellentesque enim sed dolor. Vel elementum ullamcorper adipiscing nec tristique. Egestas tellus amet praesent pulvinar quis.

Lorem ipsum dolor sit amet consectetur bibendum diam vel aliquet aliquam fringilla amet turpis varius srcu tincidunt potenti in ut amet ac aliquet donec volutpat ?

Lorem ipsum dolor sit amet consectetur. Aliquam diam magnis imperdiet pulvinar posuere. Pretium leo sed nunc morbi. In nibh risus purus ipsum amet. Leo sed laoreet orci faucibus. Ut lorem augue eget id venenatis odio tortor nec. Adipiscing bibendum tellus neque tortor.

Lorem ipsum dolor sit amet consectetur vel id viverra ultricies sed hendrerit et nulla?

Lorem ipsum dolor sit amet consectetur. Viverra ut feugiat id ipsum morbi. A ipsum massa consequat ut urna vestibulum enim. Mauris id dignissim eu donec. Nibh urna eu nisl volutpat ut purus amet habitant fermentum.

Lorem ipsum dolor sit amet consectetur bibendum diam vel aliquet?

Lorem ipsum dolor sit amet consectetur. Viverra ut feugiat id ipsum morbi. A ipsum massa consequat ut urna vestibulum enim. Mauris id dignissim eu donec. Nibh urna eu nisl volutpat ut purus amet habitant fermentum.

Subscribe to get our latest updates
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
eBook
Nunc lectus tempus dolor libero vulputate dui sed velit Augue enim malesuada
Download ebook
Subscribe to get our latest updates
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
eBook
Nunc lectus tempus dolor libero vulputate dui sed velit Augue enim malesuada
Download ebook
Subscribe to get our latest updates
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
eBook
Nunc lectus tempus dolor libero vulputate dui sed velit Augue enim malesuada
Download ebook
Subscribe to get our latest updates
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
eBook
Nunc lectus tempus dolor libero vulputate dui sed velit Augue enim malesuada
Download ebook
Subscribe to get our latest updates
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
eBook
Nunc lectus tempus dolor libero vulputate dui sed velit Augue enim malesuada
Download ebook
Subscribe to get our latest updates
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
eBook
Nunc lectus tempus dolor libero vulputate dui sed velit Augue enim malesuada
Download ebook
This is some text inside of a div block.

Heading

This is some text inside of a div block.
Google Analytics 4 Migration Via Tagmate

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C
Text link

Bold text

Emphasis

Superscript

Subscript

EBOOK
Top questions people ask about Server Side Tagging
Download for Free NOW!
Stay a step ahead.
Get served hottest tracking posts from industry-experts every week.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Ready to Get Started
Stay Updated
Subscribe to get the latest news, industry trends, blog posts, and updates.

Set up tags in seconds.
Not days.

Start Free Trial