Updating my google conversion tracking tags

I need assistance with updating my google conversion tracking please as they have changed the tags.

This is the tracking code before my head tag...

(function(d,e,j,h,f,c,b){d.GoogleAnalyticsObject=f;d[f]=d[f]||function(){(d[f].q=d[f].q||[]).push(arguments)},d[f].l=1*new Date();c=e.createElement(j),b=e.getElementsByTagName(j)[0];c.async=1;c.src=h;b.parentNode.insertBefore(c,b)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");ga("create","UA-6620915-45","auto");ga("send","pageview");

Open in new window


On form success I previous used this code below for the conversion event tracking...

ga('send', 'event', { eventCategory: 'contact', eventAction: 'submit', eventLabel: 'hardware'});

Open in new window


This is the info that google sent me: https://support.google.com/google-ads/answer/7548399

Can you please show me what my code should now be?
petewinterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
It is shown under Global site tag on that page.  Copy it and put in your account number.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Tip:  Never guess if you've setup your tracking correctly. Know for sure...

https://chrome.google.com/webstore/detail/tag-assistant-by-google/kejbdjndbnbjgmefkgdddjlbokphdefk?hl=en provides free tag checking in Chrome.

This simple little go/no-go tool can save you massive amounts of cash catching slight errors.

Always check your setup with Tag Assistant.
0
petewinterAuthor Commented:
Many thanks. After reading through and testing again I have resolved my issues.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Google

From novice to tech pro — start learning today.