Connect with us

MARKETING

Knowledge management for content marketers: My tech stack

Published

on

Knowledge management for content marketers: My tech stack

Knowledge management for content marketers My tech stack

While I’m not technically a content marketer, the workflows I’ve developed as a journalist and researcher can benefit anyone creating content in our diverse, information-rich environment. In this article, I’ll explain my philosophy and share the elements that are working for me, with the aim of sparking ideas that benefit your content marketing program and, by extension, the audience you’re trying to reach.

First, let me take a step back and explain a term I used in the headline: Knowledge management. I remember back in high school learning about how the U.S. economy was becoming driven by information. As a budding writer, it instantly made sense to me — I was going to be a “knowledge worker.” What wasn’t so clear back then was how complex this task of knowledge management was going to be. Instead of going to a library and furiously documenting book-borne facts on notecards, today, the information is everywhere.

The knowledge juggling act

1651242238 958 Knowledge management for content marketers My tech stack

I have ADHD, so this issue may be more intense for me than for others, but do you ever find yourself lying in bed at night going through a mental list of things you’re afraid of forgetting? It’s like you’re juggling dozens of bits of information in the foreground of your mind, which is preventing you from doing the important job of recharging your brain with a good night’s sleep.

Taming the beast

The goal of knowledge management, in my view, is taming all of the important information coming at you — emails, newsletters, trade publications, webinars, events and even conversations — so it’s available when you need it, and only when you need it. For content marketers, some of the things you might want to manage include:

  • Article ideas.
  • Points you want to make in upcoming articles.
  • People you want to interview or otherwise tap for their wisdom (such as asking a colleague to do a blog post for your company’s site).
  • Research material, including writing by others as well as data.
  • Your editorial calendar and the status of content in production.

A few factors make this challenging. First is the fact that different types of information are optimally stored in different ways. An editorial calendar might be best captured on, say, a calendar application, or something organized in a temporal order. Information about people and companies lends itself to a CRM-type organizational scheme, with multiple contacts per company. Content status might call for a checklist or other task-management application. Data might be best stored and analyzed in a spreadsheet.

1651242238 824 Knowledge management for content marketers My tech stack

And then there’s everything else — web content you read that sparks ideas, a white paper you download that makes an important point you want to cite, a great infographic or data visualization whose structure would apply perfectly to something you want to express, a Twitter thread that captures the zeitgeist better than you ever could by yourself. I’m sure you get the idea. And I haven’t even mentioned email.

I’ve struggled with this for years and tried just about every productivity tool you can imagine, but, recently, perhaps because of advances in machine learning and artificial intelligence, things in my world are starting to take shape. The principles guiding my knowledge management these days include:

  • Use as few tools as you can. Switching contexts and cutting and pasting are time sucks, plus they increase the risks of introducing errors. Given that guideline…
  • Get as close as you can to a “best-of-breed” solution for your use case. It just doesn’t make sense to store contacts in a Google Document or use a spreadsheet for things that can’t be sorted and filtered. You’ve got to be able to use the information you’re collecting. The key to making best-of-breed work is that…
  • Everything must connect as seamlessly as possible.

Here’s how I do it

1651242239 938 Knowledge management for content marketers My tech stack

Over many free trials and proofs of concept, I’m settling into a few tools that I’ll describe to you below. I’ll start with connectivity here because it’s the most important element. With the ubiquity of APIs, connectivity should be a given. But not all integrations are created equal — the way an API is set up can make a difference between seamless synchronization and endless frustration.

  • For connecting things: Zapier. I’m not a coder, though I’m teaching myself how to use Webhooks and APIs with the much-needed help of Zapier. Typically, though, the built-in triggers and actions work just fine for most purposes. Honestly, I don’t know what I’d do without a tool like this. Zapier integrates with all the other tools and allows you to achieve the “flow” part of workflow.
  • For task management and timelines: ClickUp. While primarily a task management app, the company seems to aspire to be everything to everyone (with uneven results, thus far). The task management elements are fantastic and I love the flexibility and design of the interface — the usefulness of color coding cannot be overestimated.
  • For people and companies: Airtable and Noloco. Because my primary responsibility is to create our company’s MarTech Intelligence Reports, I gather a lot of data about marketing technology vendors, and, of course, the contacts at those companies are key. I’ve used ClickUp for tracking people and companies, but it’s clunky — it’s just not made to do that. The best combination I’ve hit on thus far is using Airtable to store and establish connections between different tables of data and Noloco to set up displays customized to individual users. I could share my whole Airtable with our sales team, but then their eyes would glaze over and they’d never find the information they need. Two observations: Airtable is trying to develop better views through its Interfaces beta functionality, but it isn’t quite there yet, in my opinion. And Noloco also works (in beta) with Google Sheets, though it’s very awkward at the moment. All this to say that I’d love to make this one tool rather than two, but nothing I’ve found seems to do everything I need in this area.
  • For gathering structured data: JotForm. Yes, there are better-looking form applications, but JotForm is incredibly flexible (offering conditional logic, direct integrations with lots of things, pre-filling, etc.) as well as CSS control of look-and-feel. I even use it internally when I’m gathering structured data like information that eventually goes into Airtable or ClickUp.
  • For unstructured data: Mem. This one could be an article in itself (and it probably will be, in the future), but, for me, Mem is where I dump “everything else” — emails, bookmarks, scrapes of web content, notes and transcripts from meetings and virtual events, etc. Eschewing the folder structure that made Evernote a non-starter for me, Mem connects your entries via hashtags and, now, the recently-debuted Memex artificial intelligence capability. The idea is that you are writing or looking at something in the main window of the tool, and Mem automatically surfaces everything that’s related in the right sidebar, making it easy to find “that thing I saw last month” that relates to the project I’m working on now.

There’s so much more to say, and in the coming weeks and months, I’ll continue to explore these personal-level technologies that can boost your productivity as a marketer. Stay tuned for deeper dives into the subjects I’ve touched on here, including specific examples of workflows that make a difference.


About The Author

20 questions to ask digital asset management platform vendors during

Pamela Parker is Research Director at Third Door Media’s Content Studio, where she produces MarTech Intelligence Reports and other in-depth content for digital marketers in conjunction with Search Engine Land and MarTech. Prior to taking on this role at TDM, she served as Content Manager, Senior Editor and Executive Features Editor. Parker is a well-respected authority on digital marketing, having reported and written on the subject since its beginning. She’s a former managing editor of ClickZ and has also worked on the business side helping independent publishers monetize their sites at Federated Media Publishing. Parker earned a master’s degree in journalism from Columbia University.

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address

MARKETING

How to Use WhatsApp as an Effective Marketing Tool

Published

on

How to Use WhatsApp as an Effective Marketing Tool

WhatsApp has become one of the most widely-used messaging apps in the world. With over 2 billion committed users, it has become a platform where people communicate with family, friends, and even the companies they buy from. WhatsApp Business, a version designed solely for businesses, allows companies to communicate with their customers and vendors. In this article, we will show you how you can use WhatsApp Business Accounts as a crucial marketing and customer service tool.

What is WhatsApp Business?

WhatsApp Business is a free messaging app made for business use. It allows companies to have a presence on theWhatsApp business platformand relay messages to their customers.

WhatsApp Business has many useful features for businesses, such as automated messages, quick replies, and labels. This can make communication more efficient and save time for busy companies. It can be especially helpful for small and mid-sized businesses that don’t have the budget for a large marketing and customer service team.

Why use WhatsApp Business?

Using WhatsApp Business can give you a competitive edge. Many of its features are great for businesses. For one, it allows businesses to reach a large audience. With over 2 billion active users, WhatsApp provides a platform where businesses can communicate with their customers on a one-to-one basis. This personalized approach can help businesses build strong relationships with their customers and improve customer satisfaction.

Secondly, WhatsApp Business can improve customer service. By using features such as automated messages and quick replies, businesses can react to customer concerns quickly and efficiently. This can help businesses provide better customer service and increase customer loyalty. It can also be a great tool for sending large file transfers to customers, such as detailed invoices or product information.

Third, WhatsApp Business can be an effective marketing tool. By using features such as broadcast lists and group chats, businesses can reach a large audience with targeted messages. This can help businesses promote their products and services and increase sales. For example, if you are having a big Spring sale, you can send a mass Whatsapp message to all of your followers without worrying about incurring large data fees. You should always be sure to include your WhatsApp contact details on your digital business card so that you can build a following on the app.

How to use WhatsApp Business for marketing and customer service?

The benefits of using WhatsApp Business are clear. Now, let’s learn how to use it effectively for marketing and customer service.

Create a professional profile

The first step is to create a professional profile for your business. Be sure to include your business name, logo, contact info, and description. This will ensure people recognize your business and make it easier for them to contact you. You should feature your WhatsApp on your social media and e-commerce websites so that prospects can easily reach out for more information.

Use automated messages and instant replies

Automated messages and quick replies can be a time-saving, life-saving feature for small and large businesses alike. Automated messages can be set up to greet customers and provide information about your business. Quick replies can even be used to respond to frequently asked questions. This can help businesses provide better customer service and improve response times.

Use labels to organize conversations

Labels can be used to categorize conversations and make it simpler to find specific messages. This can be especially important for businesses that receive a high volume of inquiries. Labels can be used to organize marketing conversations, such as new customers, existing customers, and inquiries. Labels can also be used for customer service-related inquiries, such as a “refund,” “complaint” or “general inquiries” labeled folders.

Use broadcast lists to send targeted messages

Broadcast lists can be utilized to send targeted marketing messages to a wide audience. Businesses can build marketing lists based on customer preferences or interests and send them highly targeted and/or personal messages. This can help businesses promote their products and services and increase sales. It can also help add a personal touch to your business when you can directly send an intimate message – such as a Happy Birthday text – to a single customer.

Use group chats for customer support

Group chats can be used for customer support and provide customers with a platform to ask questions and receive support. Businesses can create groups for specific products or services and provide customers with information and support.

Provide personalized support

Providing personalized support can help businesses build long-lasting relationships with their consumer base. Businesses can use features such as personalized greetings and messages to provide a custom-tailored experience for their customers. This can help businesses improve customer satisfaction and increase brand engagement. You can also use WhatsApp to have customer service phone conversations with your customers by dialing their WhatsApp number.

Use WhatsApp Business API for automation

WhatsApp Business API can be great for automation. It can also save businesses time and optimize response times. It enables businesses to automate messages, set up chatbots, and integrate with other systems. This can aid businesses that aim to provide better customer service and improve response times.

Conclusion

WhatsApp Business can be a vital marketing and customer service tool for businesses. By using features such as automated messages, quick replies, broadcast lists, and group chats, businesses can reach a large audience, and provide better customer service while also saving time and money.

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

MARKETING

Find Keywords You Can Actually Rank for With These 4 Questions

Published

on

Find Keywords You Can Actually Rank for With These 4 Questions

Driving organic traffic from search often requires attaining high Google rankings. Often, I see marketers creating content with that goal but without keeping keyword research in mind. They expend valuable time and effort creating a piece that ultimately falls flat.

Marketers often mistakenly create #content to draw organic traffic without keeping keyword research in mind, says @JohnHall via @CMIContent. #SEO Click To Tweet

However, when you target the right keywords for your business, SEO can be one of the most valuable and highest ROI channels. But how do you identify and prioritize the right keywords? A consistent keyword research process can make your job easier.

Answer these four questions to qualify and find keywords that will deliver for your brand.

Is your site deep enough?

Just because a keyword has low competition doesn’t mean your site will easily rank for it. If you have not written much publicly about the subject, you do not have the necessary topical depth authority. In Google’s eyes, your site – even if your business has decades of experience on this topic – still falls into the newbie category.

To break out of newbie status, make sure you have published at least six articles on that same general topic in the last three months.

Gain topical depth authority by publishing at least six articles in the last three months on the general subject, says @JohnHall via @CMIContent. #SEO Click To Tweet

Is the keyword really valuable?

Possessing topical authority for a keyword doesn’t necessarily mean you should pursue it. Targeted keywords should relate in some way to your business revenue.

For example, a calendar platform site might rank well for the keyword “time management.” But people who search for that phrase are likely looking for information about the topic. They will read the article on the site, but they won’t convert into customers. (I use this example from my knowledge as an investor in Calendar.com.)

However, if the calendar platform site ranks for the keyword phrase “alternatives to Calendly” on a listicle or internal page, the readers of this content would be 100% interested in the platform’s business offering and convert much better since they are looking for a solution in the space.

A successful SEO strategy should tie to your company’s offerings for maximum ROI. Otherwise, the content won’t really benefit the business in the long term. Choose keywords that have both your topical depth authority and relevance to revenue.

A targeted keyword for which your business can rank but isn’t likely to convert into revenue is not a smart choice, says @JohnHall via @CMIContent. #SEO Click To Tweet

How authoritative is your site?

While topical depth authority grows in importance to Google rankings, general site popularity remains a factor. Your website’s domain authority (DA) indicates how well your pages are likely to rank for the targeted keywords. Use a tool like Moz domain authority checker, Domain Rating from Ahrefs, or Authority Score from Semrush. Compare your site’s score to the sites already ranking for your target keywords. If your score isn’t close to their scores, you won’t find it easy to rank for that keyword.

In general, companies with high domain authority scores or ratings will have an easier time ranking for competitive keywords. If you’re a smaller company with a low domain authority, spend your time focusing on lower-volume search terms.

How do you spot content competitors’ weaknesses?

The secret sauce to a winning SEO strategy is capitalizing on the weaknesses and problems you find on the search engine results page. Among the weak signals that could indicate positive opportunities to pursue:

  • Page title misses terms in your target keyword
  • Page word count is less than 1,000 words
  • Page takes more than three seconds to load
  • Page was published over six months ago
  • Page is a forum site such as Quora, Reddit, Twitter, Facebook, or LinkedIn
  • Page’s Moz spam score is above 10%
  • Page reading level is at least ninth grade
  • Page mobile user experience is poor

Find a keyword with a few of these weakness indicators in the results for which your company already has the topical depth and domain authority. Then, you can capitalize on them to create content that delivers better for the audience and the search engine results page.

Putting it all together

It can be helpful to start your keyword search using a tool like Ahrefs to get insights into monthly keyword search volumes and competitor domain authority to get a baseline understanding of ranking difficulty. But you still must evaluate the search results to find weaknesses to capitalize on.

A variety of tools can help in that process. TopicRanker shows how to use the data to make better decisions around keyword research. Enter your website’s URL and a topic relevant to your business expertise. (Avoid using generic keywords.)

In this example, I input www.salesmessage.com/ as the URL with the keyword “sms for marketing.” The results indicate it has a medium keyword difficulty with a search volume of 18,100. It includes the Moz domain authority for the site along with the missing number of words in the meta title, word count, readability score, load time, and spam score.

1679368005 495 Find Keywords You Can Actually Rank for With These 4The TopicRanker tool can:

  • Analyze your website and inputted keyword
  • Crawl search results for thousands of keywords related to that topic to find specific weaknesses and problems in the SERP
  • Uncover all the search results where the content does a poor job of helping the reader
  • Suggest keywords your company should be able to rank for (usually between five and 10).
  • Break down the SERP results for each suggested keyword, showing competitor weaknesses on which you can capitalize and create a better piece of content

1679368005 766 Find Keywords You Can Actually Rank for With These 4

Making SEO progress

With so much competition for attention, you can’t simply create content based on gut feelings. It requires knowing which questions to ask and, more importantly, which answers will lead to the creation of an effective SEO strategy. Failure to do that means you’ll exhaust resources creating content that doesn’t impact your company’s bottom line. But by following this process, you can create winning content that ranks high and brings customers organically.

All tools mentioned in the article are identified by the author. If you have a tool to suggest, please feel free to add it in the comments.

Want more content marketing tips, insights, and examples? Subscribe to workday or weekly emails from CMI.

HANDPICKED RELATED CONTENT:

Cover image by Joseph Kalinowski/Content Marketing Institute



Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

MARKETING

How to Avoid Duplicate Conversions and Recreating the Conversion Funnel for GA4

Published

on

20 Google Analytics Alternatives - Moz

The author’s views are entirely his or her own (excluding the unlikely event of hypnosis) and may not always reflect the views of Moz.

As you’re probably all too aware at this point, GA4 is coming. Old versions of Google Analytics will be switched off for pretty much everyone come June 2023.

While GA4 is improving all the time, there are quite a few things that people are used to seeing in old versions of Analytics which, at the very least, take a bit of creativity in the new world.

One example is how conversions are handled. In the old versions of Google Analytics, a conversion could only fire once per session. In GA4 conversions are just another kind of event, so it’s possible for a conversion to fire multiple times in one session.

Problem is, you might be very interested if someone signs up via your contact-us form once. But that person might reload the thank-you page, or sign up for something else via a different form on the site. That doesn’t mean you necessarily want to track two conversions.

Speaking of signing up via different forms, on some websites, users may wind up on the same thank-you page having taken very different routes to get there. If we don’t have that much control, and we’re having to rely on thank-you page views to track conversions, it can be hard for us to separate out different kinds of conversions.

In old versions of GA you could use funnels with a “required” step. You might have one goal with a funnel requiring your event page, another goal with a funnel requiring a different page, and rely on them to give you different conversions. There also isn’t an obvious way to do this in GA4.

In this post, I’m going to take you through how to:

  • Avoid double counting in GA4.

  • Automatically ignore suspicious conversions (like people landing direct on the conversion page).

  • Recreate the kind of funnels we expected in Universal Analytics (in fact we’ll make them better).

I’ll take you through a few bits in GA4 and others using Google Tag Manager. The GA4 approach is more straightforward, but the Tag Manager is more robust and can help you make sure that all of your conversion pixels are showing roughly the same information (because we’re long past the point where GA is the only place we’re recording conversions).

Managing conversions in GA4

This section is about changes we can make purely through the GA4 interface. As long as you’re sending your page views conversion events to GA4 you should be able to use these tactics without any code changes.

However: There are some limitations of doing things through GA4, for example it can mean that your GA data doesn’t line up with conversions recorded via other platforms.

Avoiding double-counting

Julius Fedorovicius (of Analytics Mania fame) has produced a fantastic guide to making sure that conversions are only recorded once per session.

You should have a read but broadly:

  • You create a custom audience based on a sequence that begins with “session_start”

  • You fire an event when someone enters that audience

  • You use that event as your conversion.

No surprise that Julius has come up with a really smart way to handle the problem of double-counting:

1679342730 672 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

If you’ve created Segments in Universal Analytics Audience sequences in GA4 look very like the sequences we used to create for Segments. However, the old Segments were just a way of visualizing data, whereas Audiences in GA4 are a way of grouping data. We can use Audiences to create something new.

That distinction is important because we can do cool things like fire custom events when someone enters an audience (which Julius makes use of in this solution).

1679342731 617 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Universal Analytics Segment sequence creator

1679342731 320 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

GA4 Audience sequence creator

The limitations of using Google Analytics audiences

This isn’t really a limitation as far as GA goes but it’s a consideration nonetheless. Julius’ solution is great for making sure we’re not double-counting conversions in GA, but GA probably isn’t the only way we’re recording conversions.

The average site probably has a bunch of separate conversion tracking pixels and those could end up double-counting conversions.

For example: Facebook and Google both describe how they avoid double-counting conversions, but their solutions largely rely on exactly matching transaction IDs, and even if they’re handling it okay, there’s a bunch of smaller fish out there that are also offering conversion tracking and can need a bit more hand-holding.

If we want to make sure that we’re only recording one conversion per session, it’s useful to make sure all of our conversion tracking is working in a similar way. Tag Manager is a great solution for that (I describe a solution in the Tag Manager section below).

You can also run into problems if, for example, your confirmation page is somehow indexed or bookmarked by users — people landing directly on it can lead to weird unexpected conversions. We can also use Tag Manager to guard against that a little bit.

Recreating the conversion funnel

Sticking with the GA4 interface for now, we can also adapt the AnalyticsMania approach to create our funnel-based conversions too by adding additional steps to the sequence.

For what it’s worth, conversion funnels are not the ideal way to categorize conversions. If you can use anything more direct (like the id of the form they’ve filled out, a separate thank-you page) then that’s a much more reliable way to categorize conversions. That said, we don’t live in a perfect world, and sometimes there isn’t the option to completely rebuild your conversion process.

In Fedorovicius’ example we just have two steps in our audience sequence:

  1. Session_start
    Indirectly followed by

  2. Conversion

Which basically means “someone lands on the site and then at any point during their session, they convert”.

To recreate the goal funnels you might be using in Universal Analytics – we can just add another step to the sequence. For instance:

  1. Session_start
    Indirectly followed by

  2. Visiting our event_page
    Indirectly followed by

  3. Landing on our thank you page/converting

That should mean we can create one conversion which is: Users who went through our event page and then converted.

1679342731 649 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

And another conversion which is: Users who went through our sponsorship page and then converted.

1679342731 221 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

There are some limitations here though, for example, what if someone:

  1. Landed on the site

  2. Visited our event page

  3. Then visited our sponsorship page

  4. Converted using the form on either.

They would fulfill the criteria for our event conversion and the criteria for our sponsorship conversion. We’d record a conversion for each and we’d end up double-counting after all.

This is also a limitation of the old Universal Analytics funnels: Just because a step in the funnel was required doesn’t mean the user can’t wander off around the site between that step and their final conversion. So, if it’s any consolation, this isn’t any worse than old Universal Analytics funnels (but we can still do better).

The problem with using “directly followed by”

You might say “well that’s easily solved — at the moment the sequence says is indirectly followed by and we can just change that to is directly followed by”.

1679342731 48 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Surely that would mean that someone is on the sponsorship page and goes directly from the sponsorship page to the thank you page, right?

Unfortunately that’s usually not what “directly followed by” means because there’s all kinds of things that can get recorded in analytics which aren’t page views.

For example if someone lands on the sponsorship page, and then scrolls down and lands on the thank you page, the thank you page view doesn’t directly follow the sponsorship page view. It goes:

  • Page view: sponsorship

  • Scroll

  • Page view: thank you

So “directly followed by” isn’t an easy solution.

How about “within x minutes”?

GA4 has a really cool feature in the sequence builder where we can set a timer in-between steps. Even outside of tracking conversions within a session we can use it to keep track of cool things like people who came to our site, didn’t convert that time, but came back and converted within the next couple days.

Jill Quick has been talking a bunch about how powerful these options are.

We could use this to say something like: person landed on our event page and then landed on our thank you page within 10 minutes.

But as I’m sure you’ve guessed, that ends up being a kind of arbitrary cut off, maybe someone spends some time thinking about how to fill out our form, or maybe someone really quickly goes to one of our other pages and converts there. This could be better than the basic funnel, but we could also end up ignoring completely legitimate conversions.

1679342731 289 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

So what do we do?

Using GA4 sequences for this is kind of fine, as I say above it’s certainly not worse than Universal Analytics, but we could do better with Google Tag Manager.

Managing conversions in Google Tag Manager

These approaches require you to run all your tracking via Tag Manager. Though even aside

from this, if you’re not already using Tag Manager, I’d advise you to look into it!

Since we need to keep track of what’s happened to a user across multiple pages, these solutions are also going to make use of cookies. In case that fills you with dread, don’t worry:

  • I’m going to walk you through how to create and delete these cookies (it takes a little Javascript but it’s copy-paste and easier than you think!)

  • These aren’t the kinds of cookies designed to give away people’s information to other services.

To reiterate what I say above: While this approach takes a bit more effort than just doing things through Google Analytics it allows us to do two things:

  1. Make sure all of our various tracking tags are firing in the same way

  2. Have more fine grained control, particularly if we’re trying to categorise different paths to conversion.

Avoiding double-counting

To recap what we want to do here, we want to make sure that if someone visits our site and converts we fire a conversion. However, if they revisit a thank you page, or go through a different conversion, we don’t fire a second conversion that session.

To do that, we’re going to:

  • Set a cookie when a user converts.

  • Make sure that the cookie automatically disappears after 30 minutes of inactivity (this is the default timeout for GA4 sessions but if you think that’s too short you can set it to whatever you want).

  • Every time we go to fire a conversion, check if that cookie is present and, if it is, don’t fire the conversion.

That should mean that if someone comes to our site and converts, we’ll set the cookie, and that will stop us from firing any more conversions (GA4 or otherwise) until the user has taken a little time away from the site.

Setting a cookie in JavaScript

The first thing you need to know is that we can use Tag Manager to run any JavaScript we want. The second thing to know is that we can use JavaScript to set cookies.

So first: Go to Google Tag Manager, create a new Tag and select the Custom HTML type

1679342731 289 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Give the tag the name “[Tag] setCookieConverted” and in the html content paste:

<script>

// Get time 30 minutes from now (this is because the default GA session time out

// is half an hour and we want our cookie timeout to match)

var minutesToAdd = 30

var currentTime = new Date(); // Get current time

var newDateObj = new Date(currentTime.getTime() + minutesToAdd*60000); // Add our minutes on

// Set the domain your’re working on, this is because we want our cookies to be

// accessible in subdomains (like test.example.com) if needed

var yourDomain = “example.com”

// Set a cookie called ‘converted’ with the value being ‘true’ which expires in 30 minutes

document.cookie = “converted=true; path=/; domain=”+yourDomain+”; expires=”+newDateObj+”;”

</script>

It should look like this:

1679342732 288 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

The custom HTML tag will add the content there to the page, and as soon as the page detects a new script (the one we’ve written) it’ll run that script.

What our script does is:

  • It finds the current time, and what time it’ll be in half an hour.

  • It uses that, and your domain, to set a cookie called “converted” which can be read by any page on your website.

When you go to save your tag it’ll probably say “No Triggers Selected”.

1679342732 774 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

For now we’re going to click “Add trigger” and choose the “All Pages” trigger.

1679342732 18 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

This is purely so that while we’re putting this together we can easily test it..

Reading our cookie value

Tag Manager has a built-in way to read cookie values using variables. So go to the variables section, create a new variable called “convertedCookie” and set the Cookie Name as “converted”.

1679342732 829 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Now, if you click the “Preview” button and open up your site we can start to look at what value the convertedCookie variable pulls through for you.

Click into the “Variables” tab and you should see convertedCookie somewhere in the list. Here’s an example with other cookies blocked out so you know what to look for.

1679342732 536 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

So now we can use the value of that variable in Tag Manager as part of our logic.

Using conversion cookie in our conversion logic

Everyone’s conversion setup will be the different so this might not match what you’re doing exactly but if you’re considering using GTM I’m assuming you are firing conversions something like this:

  1. You have a trigger based on some condition (probably either a custom event or a pageview)

  2. You have a tag (or multiple tags) that send your conversion information whenever that trigger is activated.

What we’re going to do is tweak your trigger to add another condition.

Imagine that your trigger was previously firing on every thank-you page visit:

1679342732 47 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

What we’re going to do is add a second condition to the trigger:

convertedCookie does not contain true

1679342732 249 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

While this example uses the thank you page path, it doesn’t have to, it can be anything.

Once you make this change, you can go and test your conversion. Because you have another tag adding the converted cookie on each page view, your conversion shouldn’t fire when it normally would.

Now we just need to change our converted cookie so that it only appears after someone has converted.

At the moment we’re setting the “converted” cookie on every page view, so we’ll never get any conversions.

We need to update that so:

  • We set a cookie when someone converts.

  • Every time we load a page, if the person is marked as “converted” we reset the cookie (I‘ll explain).

Setting a cookie only when someone has converted

First: we need to remove the trigger from [Tag] setCookieConverted so it doesn’t fire at all.

Then we go to whatever tag we’re using to send our conversion, open up “Advanced Settings”, click “Tag Sequencing” and select “Fire a tag after”.

Then we select our setCookieConverted tag and check “Don’t fire if conversion tag fails”.

1679342732 128 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

This should mean that whenever we send our conversion, we’ll automatically then activate our cookie tag and mark the user as converted.

So now our logic is:

  • If someone converts, we check if there is a cookie saying they recently converted already.

  • If they don’t have that cookie we send a conversion.

  • Then we automatically set that cookie.

To test this, you can either clear the cookie or wait for it to expire. Here are instructions for how to clear cookies in Google Chrome (which you’re probably using if you’re working with tag manager).

Now, if you got into GTM preview and click around you should be able to look at your variables and see that convertedCookie is back to being ‘undefined’.

1679342733 561 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

If you convert, you should see that both tags fire — your conversion tag and your setCookieConverted tag.

1679342733 564 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

But if you convert again (reload the page, re-fill the form, whatever you’ve got to do) you should see that neither tag fires.

Congratulations! You’re filtering your conversions to avoid recording a conversion more than once for someone in a 30 minute window.

We just want to make one last tweak now.

Refreshing the cookie if it has been set

Our cookie has a 30 minute expiration. That means it’ll stick around for 30 minutes and then automatically be deleted from the browser. But what if someone hangs around on our website for more than half an hour, reading a blog post or something, and converts again?

To help deal with that, we’re going to add another trigger which checks if the user has recently converted, and if they have, refreshes the cookie with each new page load.

Head back to [Tag] setCookieConverted

At this point it should have no firing triggers. We’re going to add one back in.

1679342733 952 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Click the blue plus sign in this screen, and again in the next screen that comes up, we’re going to create a new trigger.

In the new trigger, we set it to fire only on page views where convertedCookie contains true.

1679342733 469 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

So this gets a little bit circular, but basically:

  • When someone converts we set a “converted” cookie for the next half hour.

  • Every time someone loads a page, if they have a “converted” cookie we reset that cookie for another 30 minutes.

  • If at any point the user doesn’t load a new page for 30 minutes, the cookie will expire, which means our refresh won’t be triggered.

You can test this by clicking around your site with the GTM preview. Once you’ve converted, the [Tag] setCookieConverted should fire on every new page load.

Wrapping up

All you need to do now is make sure that all of your conversion tags use that same trigger (the one that has the condition that convertedCookie isn’t “true”). Once that’s set up, they should all behave the same — only recording one conversion per session unless someone clears their cookies or just hangs around on one page for a very long time.

What if we find we’re getting weird conversions where users haven’t visited any other pages on the site?

I have worked with sites in the past where:

  • There’s useful information on the thank-you page and users have been keeping it open/coming back to it.

  • Confirmation pages have been indexed in Google or people are finding their way to the conversion page some other way.

That can lead to weird tracked conversions that don’t correspond to actual conversions. While these problems should be solved at source, we can also clear up our analytics using the steps in “Creating a conversion funnel” below.

Creating a conversion funnel

This builds on the cookie meddling we’ve done in the last section, so if you haven’t read that bit, it’s worth taking a look!

If you’re here not because you want a specific funnel but because you want to deal with weird conversions where users just land straight on the conversion page – don’t worry you follow these instructions exactly the same, you just set the trigger for every page except your conversion page (I’ll take you through that).

Setting a “path” cookie

Just like the “converted” cookie before, we’re going to create a new cookie that records the location of the current page.

Create a new Tag called [Tag] setCookiePath, choose “Custom HTML” and add the following JavaScript

<script>

// Get time 30 minutes from now (this is because the default GA session time out

// is half an hour and we want our cookie timeout to match)

var minutesToAdd = 30

var currentTime = new Date(); // Get current time

var newDateObj = new Date(currentTime.getTime() + minutesToAdd*60000); // Add our minutes on

// Set the domain your’re working on, this is because we want our cookies to be

// accessible in subdomains (like test.example.com) if needed

var yourDomain = “therobinlord.com”

var pagePathName = window.location.pathname // Get location of current page

// Set a cookie called ‘converted’ with the value being ‘true’ which expires in 30 minutes

document.cookie = “conversionPath=”+location+”; path=/; domain=”+yourDomain+”; expires=”+newDateObj+”;”

</script>

It should look like this:

1679342733 351 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

This will save a cookie that records the location of the page. The first time it’s loaded it will create a new cookie with that information, every time after it’ll replace the value.

We’ll use this to make sure that whichever funnel page our user interacted with last is the one we record.

Triggering on your funnel pages

In creating our “funnel” we’re assuming that there are certain pages a user passes through in order to convert. So we’re going to set this to trigger only when one of those funnel pages is involved.

In your [Tag] setCookiePath tag – click to add a new trigger and create a new trigger.

We’re going to configure our tag to activate on every user click. This means that if a user is hopping between different funnel pages, each one will overwrite the cookie as they click around but only the one they interacted with last will be the one that sticks around in the cookie value.

1679342733 200 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Getting our funnelCookie

As in the double-counting instructions, create a new variable. But this time, call it funnelCookie and set the “Cookie Name” to conversionPath.

1679342733 139 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Once you’ve done that you should be able to test by using preview, going to any old page of your site (as long as it’s not one of your funnel pages) and checking funnelCookie in the Variables (it should be undefined).

1679342733 677 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Then go to one of your funnel pages, you should be able to see the cookie change.

1679342734 966 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

As you visit other pages on the site, funnelCookie should stay the same, unless you visit another funnel page.

Changing our conversions based on the funnelCookie

Now, there are smart things you could do here with extracting the value of funnelCookie and putting that into a variable in your conversion tag but the setup for every tag will be different and I want to give you an option for if you’re not able to do that.

This will create a little bit more mess in your Tag Manager account because you’ll be duplicating some of your trigger and conversion tags.

First, let’s go back to the conversion trigger we were working on before. It looked like this when we left it:

1679342732 249 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

We’re going to add in another condition:

funnelCookie contains event-page

1679342734 351 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

This means now that this conversion will only fire if the last funnel page our user passed through was the event-page.

After this we can duplicate this trigger, our conversion tags, and, for our other set of conversions, change the funnelCookie value for the trigger.

Maybe instead we make it:

funnelCookiecontains form-page

1679342734 361 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Now you have two sets of conversions, each of which will fire based on which funnel page the user passed through. From there you can edit the values sent.

A couple caveats

Instead of duplicating our conversion tags it would be much better to pull in the value of the funnelCookie variable and use that to just dynamically change some of the values we’re sending as part of the conversion.

With this approach, you also run the risk of not recording any conversions at all if a user hasn’t passed through one of your funnel pages. That might be what you want, but it’s worth bearing that risk in mind in case you think people might take legitimate-but-unusual routes to conversion.

While I can’t take you through the process of updating all of your conversion tags, one option to make this information more ready for filling out conversion tags (and to optionally set a fallback in case you want to avoid losing conversions) is to use a lookup table like this, where you take the funnelCookie value and categorise the values.

1679342735 73 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Then instead of adding the funnelCookie value in your trigger, you keep the trigger the same and pull in the lookup table value.

Triggering on any page except your conversion page

If you’re not concerned about constructing page funnels but you want to make sure that users have visited at least one page before converting. There are a couple changes:

1679342735 791 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

  • You don’t bother creating different conversion flows, you just have one flow, but you still add a funnelCookie requirement which says that your funnelCookie has to be some page rather than undefined

1679342735 697 How to Avoid Duplicate Conversions and Recreating the Conversion Funnel

Conclusion

Hopefully this has helped you get an idea of how to get more control of the conversions being recorded on your site, whether that’s entirely through GA4 or using the power of Tag Manager.

Happy tracking!

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

Trending

en_USEnglish