Problem with Enhanced Link Attribution
-
I set up Enhanced Link Attribution yestarday on two my websites, but it still doesn´t work.
When I look at numbers of clicks at In-page analytics I see the same numbers of clicks for example on heading, read more button, thumbail of blogposts - so it doesn´t work.
My GA code:
<script type="<a class="attribute-value">text/javascript</a>"> var _gaq = _gaq || []; var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js'; _gaq.push(['_require', 'inpage_linkid', pluginUrl]); _gaq.push(['_setAccount', 'XXXX']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); script>
Could you help me?
thanks
-
I have a similar issue and activated it and added the script as well and no success. I read this blog post and dont see the temp cookie showing up." _If there is an ID, it temporarily stores it as a ___utmli cookie. The link ID information is recorded and sent to the trackPageview before clearing the cookie." We dont use https.
Any other suggestions?
-
So I have done this, but it still doesn´t work. I have no idea why
-
thanks, I will do it
-
Try replacing the pluginUrl link for the JS file to
https://www.google-analytics.com/plugins/ga/inpage_linkid.js
I haven't troubleshot this myself, but that's what the Google forums say to do.
-
You are right... I have not checked this, before. Yes, we use https:// etc...
So, what should I do now?
thanks
-
I don't see anything wrong with the code you have pasted in. I've seen some people having to implement a workaround because their sites run under SSL, is that the case with you?
-
Yes, of course
-
Did you check off the 'Use enhanced link attribution' option within the Admin section of Google Analytics?
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
-
When I click an outgoing link from Analytics - why are they all broken?
On one of my websites, if I visit the Behavior > Site Content section of Anayltics any link I try to open is broken. Google Analytics is appending the domain before every URL causing it to open in a popup but as a broken link. Example: Trying to click a link to a page on the website at this URL: http://www.thisisanexample.com/test.html But in the Analytics popup browser this is what it tries to load: www.thisisanexample.comhttp://www.thisisanexample.com/test.html So I can't preview any of the content within Google Analytics. I feel like this is a settings issue somewhere... Any ideas?
Reporting & Analytics | | ShawnW0 -
Curious, anyone ever had over half of their indexed links drop on an e-commerce site?
In a year went from around 300k indexed pages to around >100k according to GWT. Could this be duplicate content issue, lost links, spam, aged links or all of the above? either way an audit is in order. Thanks! Chris
Reporting & Analytics | | Sundance_Kidd0 -
Best to Leave Toxic Links or Remove/Disovow on Site with Low Number of Linking Domains
Our site has only 87 referring domains (with at least 7,100 incoming links). LinkDetox has identified 29% of our back links as being toxic and 14% as being questionable. Virtually all of these links derive from spammy sites. We never received a manual penalty, but ever since the first Penguin penalty in 2012 our search volume and ranking has dropped with some uneven recover in the last 3 years. By removing/disavowing toxic links are we risking that over optimized link text will be removed and that ranking will suffer as a result? Are we potentially shooting ourselves in the foot? Would we be better to spend a few months building quality links from reputable domains before removing disavowing bad links? Or toxic links (as defined by LinkDetox) so bad that it should be a priority to remove them immediately before taking any other step? Thanks, Alan
Reporting & Analytics | | Kingalan10 -
Links On Expired Domains
Does anybody know if a link on an expired domain affects your SEO? I'm just asking because the SEO agency we used before used to create websites and then link to our company - very spammy. We have since ditched this agecny, however they wanted an extortionate amount to remove these links. Therefore, we decided to wait until these domains expired and then the links wouldn't exist. However, I am now completing a link audit and some of these sites are still appearing in the results (obtained from Link Research Tools) but I cannot access the links because the domains have expired. Can anyone help?
Reporting & Analytics | | AAttias0 -
Linking Multiple Niche Site In Same Google Analytics Account
Hi, I am providing SEO for Local business. Is it advisable to separate out the Google Analytics into different Google account or is it ok to remain it this way? Some of the client might be in the same niche, and might be competing with the same keywords as well. What I was worried is, Google might see these sites as same owner and only rank for 1 of the site. I was thinking to get the owners to register for their own Google Analytics and share the access to me.
Reporting & Analytics | | JonathanSoh0 -
Un-link Google Analytics
I have set the wrong account/password details for one of my campaigns. How do I 'step back' and choose the correct settings please? Thanks Ian
Reporting & Analytics | | driansmith0 -
Is the link data from Open Site Explorer in real time or an average?
I just started using Open Site Explorer to track internal and external link data. Is this information given in real time or is it an average over a specified period of time?
Reporting & Analytics | | mequoda0 -
Export all links on page with anchor text
As the question says really. Is there a tool that will export all the links on a page and anchor text related to those links into Excel? Thanks.
Reporting & Analytics | | RikkiD220