Is it possible to get demographic and interest information from DoubleClick cookies?
-
We use Google Analytics and we are currently extracting information from the Google Analytics cookies about our visitors.
Is it possible to access DoubleClick cookies in a similiar fashion and get some demographic/interest information for each visitor to our website (if they have a DoubleClick cookie set)? If so, any information on how to retrieve it would be very appreciated.
-
I wanted to get this information on my server by parsing out the double click cookie using javascript. Is this possible?
-
I believe this is exactly what I was looking for. I will test it out this week.
Thank you very much Paul!
-
This functionality was built directly into Google Analytics back in October, William. By changing a line in your on-page tracking code to use the Doubleclick js instead of the regular ga.js, you can pull the demo/interest info into your Google Analytics automatically.
You change this line...
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
to this...
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
A couple of things to note:
- the biggie! This functionality is only available in the classic Analytics. It hasn't yet been enabled in Universal Analytics, so if you want to use it, you'll need to stick with the classic version.
- you must also modify your site's Privacy Policy to indicate how this additional data will be used
- you'll need to turn on Enable Demographics and Interest Reports in Property Settings
- this change will also allow you to create and collect data for Remarketing campaigns
Once you've made the above changes, you should go to Audience > Demographics > Age to validate the code and confirm that the change has been successful.
That what you were looking for?
Paul
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Modify Google Analytics Script To Only Cookie U.S. Sessions
I know I can filter sessions from outside the US, but is there a way to modify the GA script so that it doesn't cookie visitors to a site if they are from outside the US? Note, this is separate from having a cookie consent opt-in. Thanks in advance,
Reporting & Analytics | | FitzSWC
Fitz0 -
Help! Need to Get Traffic Back Up in Saturated Market
I was looking in one of my client's Google Analytics profiles, and noticed that they had two major drops in traffic before we started working with them—and they've never really recovered. The first, and most significant drop was around January 2015. And then the again, but not as drastic of a drop, was around September 2015. They are a heating and cooling company, but they are located out west so this shouldn't be a seasonality thing. Here is a link to what the BIG drop is traffic looks like in January 2015: http://imgur.com/a/Y1s8U To get a clearer picture, here are the numbers for the overall website traffic:
Reporting & Analytics | | BlueCorona
September 1, 2015 - September 30, 2015: 30,923 sessions
September 1, 2015 - September 30, 2016: 13,768 sessions Year over year traffic to the website dropped by 55%. Here is a link to what year over year looks like in Google Analytics: http://imgur.com/a/TPdJQ Like I said, we weren't working with them at the time so I don't know specifics about what might have caused this, but their numbers have never even come close to reaching what they used to be prior to the noticeable drop after September 2015. Does anyone have any insights into why this might be? Was there an algorithm change back then that could still be impacting them? Any ideas how to get them back to where they once were? Any input is greatly appreciated! Thanks.1 -
Changes to cookies, August 24 or 25? (organic search not being cookied?)
Hi folks. We've seen a precipitous change in the referral data that we're able to gather from cookies. Specifically: On August 24 or 25, traffic to our site that was cookied as coming from organic search dropped by ~25%, and traffic coming in with no referrer data at all (i.e., it appears to be "direct") rose by roughly the same amount. As far as we can see, we haven't changed anything in our systems that would have caused this (we're not just mis-reading the cookie info), so I'm looking for external reasons. Has anyone else seen this? Or have any ideas why it would happen?
Reporting & Analytics | | RobM4160 -
Is It Possible to have Cross Domain Tracking on Two Different Accounts?
Good afternoon to all, I have this kind of dilemma regarding setting up tracking code on two different accounts, namely bioglass.com with GA Code UA-12345678-1 where all the product information has been listed and shopbioglass.com with GA Code UA-87654321-1 where the prices are located and transaction takes place. Both of them are connected since if you click the buy button on bioglass.com for a specific product, it will automatically redirect to shopbioglass.com where the prices and transactions comes into place. Dilemma: I want to check how many conversion took place from bioglass.com to shopbioglass.com. I know they have different GA Code but is it possible for me to have a cross domain tracking for this?? What are the possible remedies if not? Thanks to all 🙂
Reporting & Analytics | | TWSOM0 -
Enable Demographics and Interests reports using analytics.js
Hi, I may be going mad, but i can't find the code to activate demographics and interest reports if you are using the new analytics code. I can only find the code adjust for the old code. Any one know where to find this? Thanks Paul
Reporting & Analytics | | eminent0 -
Time to get reconsideratio n request?
Hi there, recently I have been getting failed reconsideration requests back within 7 days. The last one i submitted (third) is now 2 weeks and no message back. Does this mean do you think it's gone to the next stage of auditing? is it a good sign? Typically when failed I have always has that response within 7 days. I also noticed a slight improvement in rankings but no message back in webmaster tools. Does anyone have experience with this? if so does this sound about right? thanks guys.
Reporting & Analytics | | pauledwards0 -
Why am i getting a flux of increase in Impressions on my site & then it decreases
They guys. Hope everyone is having a great week. I wanted to get some inputs from you guys in regards to what is happening to my site that i quite don't understand. Every month or so i get this influx of high visibility with impressions for my keywords and then the impressions go away but my rankings still keep going up. Has anyone experienced this before and can give me some insight on what is going . Why do i get such a big jump and then it dies off only to return again a month later or 2 months later. I know you guys want probably some info from my site or from analytics or webmaster tools so i will provide as much as i can . For now i have included a screen shot. ScreenShot2013-06-04at31220PM_zps0d02f5fc.png ScreenShot2013-06-04at31134PM_zps5bb81b68.png ScreenShot2013-06-04at31134PM_zps5bb81b68.png ScreenShot2013-06-04at31220PM_zps0d02f5fc.png
Reporting & Analytics | | BizDetox0 -
Cookies/Tracking/Code developement
So. I have an online application form, on the website. It's maked with php, html and css. What i like to place on the email, is a cookie tracking system. For example, when someone search on the google for " web design ", and then see my result on google organic, comes the visitor to my site, charge the fields of application forms and click send. Than, me like an admin, i receive an email with informations of a customer, i see name/surname/etc.. but i like to integrate is for example, like to see a: IP from Visitors, who charged the fields Referrerr, if google, like to see which query he typed. How can i do this please?
Reporting & Analytics | | leadsprofi0