What is cross domain?
-
what is cross domain?
can any one explain in simple language ?
-
I imagine you were looking for the answer posted by EEE3 regarding Google Analytics, but just wanted to mention that term is also common on the more technical side of web development, relating to both Flash & Javascript, and I imagine some other languages.
Moreover, it refers to situations where a program on a site, or in your browser (javascript) is trying to communicate with and access data from another website / domain name.
For instance, if you have a flash program on your website that accesses data (such as photos) from another website, the website hosting the actual data may need to add your website to their crossdomain.xml file.
-
Are referring to cross-domain tracking in Google Analytics?
If yes, in the most basic sense, it's a way for you to share the same Analytics tracking code with multiple domains, subdomains, etc.
I'm a visitor on your website www.ilovepeanuts.com. Your website sells peanut brittle. It just so happens I love peanut brittle, so I decide to buy some from your website.
The only problem is, when I get to your shopping cart, it resides on store.ilovepeanuts.com. If you don't enable cross domain tracking and use the same tracking code on both www.ilovepeanuts.com AND store.ilovepeanuts.com, you lose valuable data about my user experience on store.ilovepeanuts.com
Cross domain tracking allows you to preserve the same visitor data between your website and your store website.
Hope that's a simple enough explanation.
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
-
Redirect if old browser or OS to other domain?
Hi, I use cloudflare free SSL option. All is fine except it wont work with windows XP . How do you think is it ok in case of old OS/Browser redirect visitors to other domain or subdomain? What could be impacts or consequences of such step? On the moment if page meko.lv is accessed from XP sp1,2 there is error. If it is possible how could such redirect look? Thanks
Technical SEO | | Mekounko0 -
Link building to ROOT domain OR to WWW.?
Hello, Here I come with one more 'sensitive' question, hoping that you SEO gurus could give some input on. My title explains pretty much what I'm wondering about, but let me give you some short data. I have from .htaccess file set that all traffic goes to WWW.mydomain.com. I know that it is 'better' for search engines not to have duplicate destinations as that can give decreased page rank because of 'double content'. As for search engines http://domain.com and http://www.domain.com is totally different domains. Now wondering one thing: If I build a several thousands of backlinks at various sources, blogs, directories, web sites etc etc. - shall I link to domain ROOT or shall I include WWW prefix? When looking at Moz Keyword Analysis for my domains, I can see a block about 'Linking Root Domains' and 'Page Linking Root Domains'. But no 'www' variable (sub-domain) there. As I have already set canonical part so everything shows with WWW on my website - what logic shall I use when building backlinks? How will search engine translate the link juice in regards I wrote above? Thanks in advance, great forum!
Technical SEO | | SEOisSEO0 -
Two Sites - One Domain
I just want to be sure, but if I install a Wordpress blog in a subfolder of a HTML site, Google will see that as one site, not two different sites, correct? Even if there is two index files?
Technical SEO | | jshiraz0 -
Redirecting domain to the main domain (hosting cost?)
Hello Everyone, I have the following situation. There is main domain and a secondary domain that is related to the page on the main domain. I want to integrate the content of the secondary domain into the page on the main domain and redirect the secondary domain via 301 to that specific page. As i understand I can do it via .htaccess using rewrite mechanism. http://www.seomoz.org/learn-seo/redirection But the question is does it mean I have to keep paying for the hosting for the secondary domain? Because htaccess has to be located on the web server so I would need a hosting plan for it? Is that true? Is there any way around it? P.S. to avoid any confusion - I am talking about hosting plan - not domain registration fees
Technical SEO | | SirMax0 -
Domains redirect influence search rankings
Hi seomoz, I'm currently optimizing a website which is www.photobookworldwide.com and the ranking is on 2nd page, but looking at the result this morning, instead of showing photobookworldwide.com, it show other result which is www.photobooklaos.com on 2nd page for the keyword photobooks. Our web developer using virtual domain, and redirected photobooklaos.com to photobookworldwide.com. Any solution for this? need you guys to help me on this. Cheers Gerald
Technical SEO | | greathokage0 -
Specific Link Page in Domain
Hi everyone: I have seen that many SEO Agencies have contacted my business (Also SEO but In- House) in order to interchange links. They have created a specific page on their site with the Label "Links" or similar, and on that page they add multiple links of the competence. I have heard that you can only do that if you make sure you add two things: No follow in links. Not inserting links of websites that have nothing to do with our sector. Either way, I have never found this amusing. I always recommend people not to do this but I have my doubts after all. ¿Could some one give me their opinion? Cheers !
Technical SEO | | Tintanus0 -
301 from old domain to new domain
Hi, I need to create a 301 redirect for all internal pages located on organic7thheaven.com to the homepage of our new site at http://www.7thheavennaturals.com/ Currently internal pages of the old site such as the following are returning a page not found www.organic7thheaven.com/products/deepcleansing/miraclemud.asp Can anyone help me in setting up a .htaccess file for this problem please? Thanks
Technical SEO | | MJMarketing0 -
Best Way to change domain name
Hi, I have a driving instructor wordpress website called www.drivnglessonsbrightonandhove.co.uk, done a little link building. But before I start this properly, I want to change it to www.drivingbrighton.co.uk (as the first is too long to fit on the car etc!!!!) Whats the best way to do this? Is there a way to help keep its position in google as just got into top10 for different keywords?
Technical SEO | | Ant710