E-mail, JSON-LD, and Structured Data
Unlocking the Full Potential of E-mails
There is a new generation of digital marketers that feel e-mail marketing is old school. However, e-mail marketing is still one of the preferred digital marketing techniques used to date. Email is an important part of how we get things done.
We check our e-mails hundreds of times a week. We plan trips, organize events, check-in with flights and much more. For a while Google has made it apparent that they are moving towards enriching all data as much as possible. Why not emails right? Adding schema.org markup to your e-mails will create a better user experience by adding quick actions, check-in times, reservation actions and more. Google’s Inbox, Search, Calendar, and Google Now all use structured data. You can now start enriching your data as well!
To start it is best to test your schema e-mail markup by sending an e-mail to yourself. First visit scripts.google.com. You will be redirected to the information page if it is your first time. Begin by clicking on Start Scripting which will bring you to the script editor. From there create a script for Blank Project.
Next you will want to replace the code that is in “Code.gs” with the following:
Testing the Structured Data
Remember in math class, when the professor always talked about “checking your work”? Well that is a rule I still commit to, day in and day out when it comes to script. JSON-LD, scripts, and coding can work well when it wants to. However all it takes is for one misplaced comma and the script will not fire correctly. Therefore we need to check our work. To test we need to save the project. Next select the tab “Code.gs” which is on the left side of the script page. Here you want to make sure the function “testSchemas” is selected in the “Select Function” dropdown menu.
After you run the script you’ll be asked to grant authorization. After that you will need to re-run the script. At this point you should check your inbox. You should see an e-mail from yourself with a “Go-to Action” button like I have shown below!
Registering with all mighty Google
So now that you have that down, its time to register with Google which is a pretty simple process. Currently Google lets you send e-mails with scripts embed to yourself strictly for testing purposes. However, if you would like to start using this for your users in your e-mail marketing campaigns you will need to register with Google and follow their steps. Its pretty easy. Head on over to developers.google.com to set up the registration process!
Whether you are email marketing for a large business that needs to send out reservation e-mail markup to your next event; or an individual on a job search that would like to increase his/her CTR to their resume in emails. Everyone can benefit from JSON-LD structured e-mail markup.