5 Ways to Make Marketing Happy Right NOW!
Tammy Lee
Posted on March 21, 2019
I've spent nearly half my career working for digital marketing agencies. You pick up a few things working in that sort of environment that you probably don't learn in a software or dev shop.
Here is my list of the top 5 things a developer can do, right now, that will make a digital marketer happy:
- Tel links are formatted correctly!
- No JavaScript errors.
- Semantic HTML.
- Every 'page' has a unique URL that can be linked to directly
- FORM submissions trigger a submit event OR redirect to a thank-you page.
Tel Links
Tel links should be a default if you're building an app or a web site or a web app. Here you go, straight from Google:
- Wrap all phone numbers in hyperlinks with the tel: schema.
- Always use the international dialing format.
This is what a tel link should look like:
<a href="tel:+1-303-499-7111">+1 (303) 499-7111</a>
- It is an anchor tag, not a button.
- The
href
attribute value hastel:
as a prefix and there are no spaces or parentheses. - It's straight up semantic HTML and there is no
onClick
event with ane.preventDefault()
going on here.
Semantic HTML
Speaking of semantic HTML... USE IT! This is a nice introduction to why you would want to use semantic HTML and here is a key quote:
To understand why this is important, we really have to empathize with the machines reading our content.
Machines like, oh, say web crawlers? Spiders? Whatever the heck Google and Bing and Yahoo etc are calling their processes that read the content from a webpage and tries to figure out how to rank it. Yeah. Those machines.
By making web pages that are easier for machines to read you are contributing to digital marketing success for your client.
No JavaScript Errors
Sweet googly moogly this is a big one! Savvy digital marketers these days will be using Google Tag Manager (GTM) to track things on a web page or app. GTM is JS-based and is injected onto your page. If there is an error in your JS on the page that stops any other JS from executing well, thbbbpt, there goes your GTM events and triggers.
The same is true for any JS that gets injected via GTM! This is just one of the many reasons why it's important for development and marketing to communicate.
Unique URLs
Most web pages have their own URL but with the popularity of JS-built sites and single-page applications, we sometimes see page content being replaced without a corresponding change in URL. This is naughty-naughty from a digital marketing perspective!
For example, how can a digital marketer link to a landing page from a campaign ad?
This is an old article but it's a good place to start when thinking about these things. It may be a bit outdated (I have no clue when it was published.) but it has a wealth of knowledge including how to test if your JS-based site/app is crawlable by Google.
The Basics of JavaScript Framework SEO
Form Submissions
I have left the most frustrating and difficult bit of tracking for last; tracking form submissions.
I have spent hours trying to get GTM to detect a form submission to no avail but don't let me lob anecdotal evidence at you, learn from the master, Simo Ahava:
Track Form Engagement With Google Tag Manager
The TLDR version of his excellent article is that there are only TWO things required to make a form submission detectable by GTM:
- The form must dispatch a valid submit browser event.
- This event must not be prevented from propagating to the document node.
Easy peasy lemon squeezy, right? WRONG! THIS IS A DIFFICULT LEMON! APPARENTLY, THE CITRUS FRUSTRATION IS SO BAD I HAVE TO USE ALL-CAPS!
(At least 23 of my grey hairs are from trying to track form submissions.)
When we try to keep digital marketing in mind, we get to build cool stuff and they get to track user engagement of said cool stuff! We both win and everybody is happy!
Photo by MI PHAM on Unsplash
Posted on March 21, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.