Tracking Multiple IP addresses for a user | Community
Skip to main content
Level 1
March 11, 2021
Solved

Tracking Multiple IP addresses for a user

  • March 11, 2021
  • 1 reply
  • 2666 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

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.

 

 

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
March 13, 2021

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.