SOLVED

Re: Tracking Multiple IP addresses for a user

Go to solution
cscales
Level 1

Tracking Multiple IP addresses for a user

I'd love to know if anyone has tracked users via multiple IP addresses on their contact record. 

For example, we would like to track a users IP across their devices and locations (e.g. work laptop, work phone, home phone, home computer). 

Has anyone has experience tracking this in Marketo, and if so, is the data stored on anonymous IP or on the activity record field 'client IP' (or is there a third option?). 

I'd also like to know if Marketo overwrites the data, keeps track of all or how is it managed?

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Tracking Multiple IP addresses for a user

The IP addresses are all stored in the Activity Log (the Visit Web Page activity, for example, has an associated IP address, which you can see in the details popup and also if you export the log via API).

 

But it's true that only one IP is the canonical "Anonymous IP," which is somewhat strange given that that may not even be the first public IP they used to connect (merely the first IP from which a Munchkin session was associated).

 

You could send the current public IP address in a custom Munchkin hit whenever a session becomes associated (for example, send a Visits Web Page to https://www.example.com/setIP/{:currentIP},  where {:currentIP} is retrieved using a service like https://www.ipify.org/ .

 

Then send {{Trigger.Web Page}} to a webhook, extract the IP address from the path, and write it back to a String field Most Recent IP Address. Whenever that field changes, append to a master Textarea field called All IP Addresses.

 

Needless to say, not easy, but certainly doable.

 

 

View solution in original post

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Tracking Multiple IP addresses for a user

The IP addresses are all stored in the Activity Log (the Visit Web Page activity, for example, has an associated IP address, which you can see in the details popup and also if you export the log via API).

 

But it's true that only one IP is the canonical "Anonymous IP," which is somewhat strange given that that may not even be the first public IP they used to connect (merely the first IP from which a Munchkin session was associated).

 

You could send the current public IP address in a custom Munchkin hit whenever a session becomes associated (for example, send a Visits Web Page to https://www.example.com/setIP/{:currentIP},  where {:currentIP} is retrieved using a service like https://www.ipify.org/ .

 

Then send {{Trigger.Web Page}} to a webhook, extract the IP address from the path, and write it back to a String field Most Recent IP Address. Whenever that field changes, append to a master Textarea field called All IP Addresses.

 

Needless to say, not easy, but certainly doable.