I am hosting a site which offers some contents. Users in my site use this content and embed into their blogging/private site. SO I want to track all the sites which are embedding my site's content into their site. So how to use google analytics to track parent url via iframe.
Tks
Vil
You might be able to do something like figure out what the value of window.top is and then send that to GA as a custom dimension.
Related
I have a Google Analytics query I am using the SEMeasy Double Agent plugin on my Wordpress site to redirect visitors to particular pages to certain external sites. The plugin detects if a visitor is using a mobile device or desktop. If desktop, it overlays the external site without redirecting so these visitors can be tracked via Google Analytics. But with mobile users, it redirects the visitor to the external page before Google Analytics registers the visit. My question is: can I change the code of my site so that Google Analytics registers this click before redirecting to the external site? Sorry but I have very limited coding experience, so simple answers would be great!
My Google Analytics properties are showing wrong urls in the site content section. For example my website url is https://www.olaywall.com/au but in Google analytics site content, the urls are showing https://www.olaywall.com/au//au/ for all web pages. Same thing is happening in my other google analytics properties.
On my site I have feature for users, that they can embed video on their page with iframe. Now I'm tracking classic page view and iframe view same way. So my analytics stats are not correct. I wanna separate this tracking to know how much of visitors I have on page and how much of them on iframe. I'm using google analytics.
I'm looking forward what do you suggest.
BTW: I am using special url for embeded video but still on the same domain.
Since you've got a special URL for the embedded video, you could use filters to include or exclude that URL for a Google Analytics profile, and keep the same analytics code on every page.
I'd recommend:
Keeping one profile unfiltered, showing all traffic
One profile that filters out the iframe URL
One profile that only shows the iframe URL
More info about Google Analytics accounts & profiles
Can you add a simple GET-Parameter in your URLs? For example: http://www.website.com/video.flv?type=embedded
or
http://www.website.com/video.flv?type=extern
Unfortunately I don't know exactly, how Google Analytics handles same URLs with various GET-Parameter.
Other way is using a simple redirect script or htaccess rule.
I have a website www.site.com that contains a iframe which embeds another site www.another.com which contains google analytics code. Now if a user navigated to my website at www.site.com will the google analytics code in the iframe for www.another.com track that user? If not is there a way to solve this?
Yes. There is extensive documentation about this over here.
Has anyone had much luck in embedding the Google Analytics reporting interface in an IFRAME?
We'd like to add an "Analytics" tab to our CMS which displays the Google Analytics for each specific page. So, the user could view a page in the CMS, and see the analytics for that page right in the interface.
We have everything worked out, and we're bringing up the correct URL in the IFRAME. We get the Google login page, but when we log in, Google "busts" the IFRAME and loads the analytics page in the full window.
Is there anyway to keep Google Analytics reporting interface in an IFRAME?
Why not use the Google Analytics Data Export API to access the data and build your own reports?
It's not possible to IFRAME Google Analytics.
A work around to this is to build a chrome extension and append your codes/page into analytics site via content_scripts to put some "toolbar" on top or to do some modifications you want.
This is what I'm doing at the moment, sorry that I couldn't share the chrome extension code at the moment.