mardi 28 juillet 2020

Does one need to define meta tags for each URL in google analytics?

For google analytics to pick up a user page flow (for example, this user went from the landing page to /about to /inquire), does each page need to have its own meta tag defining its link?

I am implementing a website in Django with 3 urls, just /, /about, and /inquire but GA is showing that only the / is accessed even after a button click or link click. I felt that the reason could be because that each of the page templates extends a base.html which has the meta tags defined there...and those meta tags are stuff like

<meta name="google-site-verification" content="*****">
<title>mysite | サービス</title>
<meta name="description" content="cool stuff">
<meta name="keywords" content="key1, key2, key3">
<meta name="robots" content="index,follow">
<meta itemprop="name" content="mysite">
<meta itemprop="description" content="itemprop desc">
<meta itemprop="image" content="whatevs.jpg">

<!-- Opengraph tags-->
<meta property='og:type' content='website' />
        ...

Which means that since each url extends base.html, does that mean GA cannot pick up the page changes?




Aucun commentaire:

Enregistrer un commentaire