/analytics/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
How to filter data; my staging and production code is on same server
1
Hello,
Hrishikesh here I have run into a situation where my dev team has installed php staging and production code is on same server, with domain names being:

staging.xyz.com -> staging domain.
xyz.com -> production domain.

I want to know how to filter the data: from :
Staging domain and get data only from the live environment. 

Internal IP filtering is not possible since we all are working remotely.
Details
Pinned
Locked
Latest Update Latest Updates (0)
Relevant Answer Relevant Answers (0)
All Replies (3)
"The important thing is never to stop questioning."
Relevant Answer
If you are using GA3/Universal, create and apply a predefined filter to only include data from xyz.com

Otherwise, you/the devs use something like ghostery to block GA tracking on your devices.
marked this as an answer
Relevant Answer
Hello Andy and Brownyn V, 

First of all thank you for the information,  

@Brownyn V since I am making a fresh installation I am sticking to GA4 and not universal this time, hence can’t use View filters

When it comes to ghostery it sounds good and I will surely use for my personal use I liked it 😅.

@Andy I realised that the Dev might have installed the GA tracking code on the staging code too, let me cross verify it.

Also thank you guys for clearing out to me that even if both the environments I.e. staging and production are running on same server, I can install different properties to track the different environments. 

Also if you can please help me understand that how can I eliminate the internal traffic on live too, since my team is working remotely and at times uses mobile network who’s IP keeps on changing.
marked this as an answer
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
Report post
What type of post are you reporting?
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/analytics/threads
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update vote.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Removed from Updates
Marked as Recommended Answer
Marked as Update
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
Known Issue
Fixed
Marked Fixed
Unmarked Fixed
Unable to mark fixed
Unable to unmark fixed
/profile/0
false
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
69256
false