: 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
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.
More posts by @Hamaas447
2 Comments
Sorted by latest first Latest Oldest Best
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'
});
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.