: Can I use an IP Address when signing up for google analytics? I have a CMS built with angular that allows users to create a basic website and then register an available domain to use. For
I have a CMS built with angular that allows users to create a basic website and then register an available domain to use. For example, if I register example.com, when a user goes to example.com, it pulls data down and renders content for that site. example2.com can also be created and if that is accessed, it pulls content for that site.
The problem I have is when signing up for Google analytics, it asks for a website URL, but in my case it varies, so can I use an IP address? or is there another option as well?
More posts by @Hamaas447
1 Comments
Sorted by latest first Latest Oldest Best
Unless you want to limit your tracking code to just one domain it should be fine to use it in a different domain. Just make sure you use auto as a parameter:
ga('create', 'UA-XXXXX-Y', 'auto');
Specifying auto enables automatic cookie domain configuration, which tells analytics.js to automatically determine the best cookie domain to use.
Reference
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.