This is on a Wordpress/WooCommerce site, utilising Google Tag Manager (via a plugin called GTM4WP).
Is there a way to track when someone lands on the site via a blog article, and then they end up making a purchase on the site?
What I'd like to achieve is to see the number and value of sales that occur via people landing on the site via our blog articles.
I was considering (within GA) setting up a goal, with a funnel, but tracking the steps is all URL based. I can't identify a page as a blog article just from the URL.
So I was looking at how this might be achieved with Google Tag Manager.
For instance, when the user views a blog article, a
gtm4wp.reading.articleLoaded event object is in the data layer, and that object has a value in it for
pagePostType. It will be set to
post when user is viewing a blog post.
So what I am thinking is that gives me a way to identify when the user enters the site through a blog article. The checkout process has a
purchase event in it, which gives me a way to track when they buy something.
So ... my question is: Given the above scenario, is there a way to track when a user lands (enters the site) via a blog post, and eventually makes a purchase? And then see in GA the number of times this occurs, and the total value of the purchases?