Mobile app version of vmapp.org
Login or Join
Hamaas447

: Defining pages by custom variable, reporting to Google Analytics Does anyone know how I could add some information to my page (whether in a meta tag or some other way) to indicate to Google

@Hamaas447

Posted in: #GoogleAnalytics #MetaTags #Subdomain

Does anyone know how I could add some information to my page (whether in a meta tag or some other way) to indicate to Google Analytics that a page is targeted to a certain segment?

This is pretty straightforward on my main site where everything is set up in hierarchy by target user so I can just use the URL to filter the data.

However for my subdomains, its a flat structure that's just a bunch of landing and conversion pages so I can't use the URL.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamaas447

2 Comments

Sorted by latest first Latest Oldest Best

 

@Sherry384

There are several ways you can choose from, but i think the simplest way in your case is to create a "fake" URL for each page. This URL will show in analytics instead of the actual URL.

Add this line to each page (inside the main analytics code)

_gaq.push(['_trackPageview', '/my_segment/page']);


If you're using universal analytics you can also specify page title:

ga('send', 'pageview', {
'page': '/my_segment/page',
'title': 'Segment name'
});

10% popularity Vote Up Vote Down


 

@Speyer207

I think you need something like google affinity groups
take a look to this two links www.google.com/think/products/affinity-segments.html
and
support.google.com/adwords/answer/2497941

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme