I need to Track IP Address of Visitors in Adobe Analytics using Data Warehouse.
I have created a new Data Warehouse request for fetching IP Address of Visitors in Adobe Analytics, but report is coming blank with no data.
Plz help!!!
Solved! Go to Solution.
Views
Replies
Total Likes
That should work... you haven't turned on IP obfuscation have you?
Views
Replies
Total Likes
That should work... you haven't turned on IP obfuscation have you?
Views
Replies
Total Likes
Hi Jennifer,
Thanks for a quick reply!!!
No i haven't turn on IP obfuscation, can you please guide me with steps how ill turn on IP obfuscation.
Views
Replies
Total Likes
In an Analysis Workspace project, build a freeform table with the same "IP" dimension and "Visits - All Visitors" metric. Do you get any rows of data there?
If you don't, then there is most likely an implementation error.
Views
Replies
Total Likes
IP Obfuscation actually hides the IP Address, so it would hinder you.. if it's not on, IP address should be working... IP Address is something that should be captured automatically, since this captured from the headers and not populated manually (just like Browser, Operating System, Screen Size, etc are all captured automatically).
Also, IP address isn't available anywhere by Data Warehouse and Raw Data Feeds (it's never been available in Reports or Workspace), I can see that you are access the "standard" IP field, not a custom dimension, so I am assuming that you are not using a processing rule to set a custom dimension with the IP address value... so verifying that it's populating isn't exactly an easy task....
Are you using Web SDK, could that be not passing through the proper info?
Views
Replies
Total Likes
there is a workaround to collect and store IP addresses using a custom variable (eVar) or prop, but it requires some implementation steps:
First, you'll need to implement a custom JavaScript code on your website to capture the visitor's IP address. Here's an example using an external API to retrieve the IP address:
fetch('https://api.ipify.org?format=json')
.then(response => response.json())
.then(data => {
// Store the IP address in a global variable, so it's accessible when the Adobe Analytics request is sent
window.visitorIpAddress = data.ip;
})
.catch(error => {
console.error('Error fetching IP address:', error);
});
Next, you'll need to create a new eVar or prop in the Adobe Analytics admin interface and name it "Visitor IP Address" (or something similar).
Once you've created the eVar or prop, update your Adobe Analytics implementation to set the eVar or prop's value to the visitor's IP address captured in step 1:
s.eVarX = window.visitorIpAddress; // Replace 'X' with the number of the eVar you created in step 2
// or
s.propY = window.visitorIpAddress; // Replace 'Y' with the number of the prop you created in step 2
With the IP address being tracked in Adobe Analytics, you should now be able to create a Data Warehouse request that includes the "Visitor IP Address" eVar or prop to obtain the desired data.
Views
Replies
Total Likes
Views
Likes
Replies