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
-
Page Name Tracking - Without UTM links
Hello, Our current site is fully html with no cms. We're moving to a newer version today with a typo 3 cms. My one worry is as follows; On some pages an internal link opens a jquery lightbox, inside the lightbox will be a video or download link. I cannot simply add a standard event url like I wanted to (utm_ link) as the pages are linked via the cms pointing to different pages, not the url's. We really need the following appearing in Analytics, whether its an event or landing page; The click of the light-box link The click of the video OR download link inside the lightbox. I would really, really appreciate any help on this as the new website is going live today, regardless whether this has been resolved. Thank you very much in advance of any replies. twY8s8B.jpg
Reporting & Analytics | | Whittie0 -
Difference between External links and anchor text?
What is the exact meaning of external links & anchor text and what is different between these?
Reporting & Analytics | | surabhi60 -
What type of links/redirect is Yahoo! using?
So I'm trying to figure out exactly what type redirect or hyperlinking Yahoo! is using on their article pages. For example:
Reporting & Analytics | | William.Lau
https://shopping.yahoo.com/blogs/fashionate/spring-clean-your-beauty-routine--10-tips-on-looking-fresh-this-season-000058218.html Hover over an external link, it shows you the ending URL. Right or left click it, it gives you a 302 redirect. When you actually left click it, it adds and "id" attribute, I assume for tracking. However, when you left click the the hyperlink, it no longer shows as a 302. I have limited working knowledge of web development techniques, so anyone with advance knowledge or have actually done this, it'd be helpful to understand this more.0 -
OSE shows URLs redirecting to our custom created error page, is this a problem?.
When I check the link metrics for my product pages in OSE, it shows a message saying that the page redirects to our custom error page. This page was recently created to display when there is an error with the website. Do I need to be concerned that OSE is seeing all product pages as redirecting to this error page? Will it affect page authority etc,? I have attached a screen shot of the message that OSE displays for reference. YWbpM.jpg
Reporting & Analytics | | pugh0 -
Tracking clicks from a specific link
Hi all, I'm looking for a bit of help with Analytics. I want to track the number of clicks that my main CTA generates over the course of the month. I've got all my goals set up correctly, but is there some sort of code that I can add to that specific link which will count the goal conversions which it generates? Do I need to set up something specific in GA? Thanks a lot for your help,
Reporting & Analytics | | theshortstack0 -
Too Many On-Page Links
I'm getting the warning of "Too many on-page links". I have a number of affiliate marketing sites, all Wordpress, all with sidebars. In the header navigation bar is a link that offers "reviews" and links to each product/brand. This is not a drop down link but leads to a page with product links. Also, in the sidebar I have links that also lead to the products/brands. Redundant yes, but in the beginning this seemed to be a good practice in site design. It would be easy to simply remove the widget that contains the link process in the sidebar. The problem may simply be that the sidebar is the same for every page in the site(s). Is this hurting total SEO as my sites are all over 95-percent indexed. One site in particular does very well in traffic and sales so is removing these links potentially going to improve my SEO and ultimately by success? Thanks, Don
Reporting & Analytics | | JavaManOne0 -
On what report do I get to know where do the external links come from?
I need to get a list of the external links. I don't find that report, where do I get it?
Reporting & Analytics | | carloscontinua0 -
Does an internal link inside an iframe result in a bounce?
We built a landing page with a wufoo form. Inside the wufoo form is a link going to another page on our website. We are wondering if clicking on that link will result in a bounce since it is in an iframe. We are using google analytics.
Reporting & Analytics | | seozachz0