- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
We are capturing Ip address via TIQ and its poppping up in utag debugger but as this is my first time to push this value in audience stream, I am unable to do that. I created an new attribute and added enrichements to set the logic. Unfortunately after i finish and save and refresh the page that is always lost and i dont see it anymore.
Am i doing something wrong and also what would be the best to see in AS to see if the IP address is being pushed?
Solved! Go to Solution.
First up, it's worth noting that UDH can capture the user IP address for you without you having to make any changes in iQ to pass it through. However, UDH does not behave like this by default. You can check if it does by clicking on the gear icon in the top right of the UDH screen and choosing "settings". Under the "Global Settings" tab, check to see if "Enable Visitor IP Attribute" is On or Off.
If it is "On", then you have a built in Event attribute called "Client IP" that you can use to store as a Visitor String, for example.
If it is "Off", and you'd like to use this method, then reach out to your Account Manager and ask them to enable that setting in your UDH profile. You cannot make this change yourself.
If you'd prefer to use the existing method, then this should also work. Your post is a little unclear how you are passing the IP Address to UDH. If it is being passed, then it should appear in the events that you see in UDH if you use the Trace tool.
If is is appearing in there, then;
1. If there is already an Event attribute with a maching name and type (cookie, query parameter, etc) to how the IP address is being passed, then you can set a Visitor String to that Event Attribute.
2. If there is not yet an Event attribute with a matching name and type, then you can create one in UDH and then set a Visitor String to that new Event Attribute.
If you are still unclear, I'd suggest reaching out to email@example.com with steps for them to reproduce what you are trying to do.
thank you for the reply.
I saw the Client IP but I didnt use not knowing what it is for. I created a new attribute "ip" and its working correctly now and able to see in trace but additionally I want the array of IP for a visitor. Right now it looks like its capturing only the latest IP address of the visitor but technically i want to capture all the Ip address a visitor visited
I created new attribute and set the data type to Array of strings but it didnt work? Any inputs. attached is the image of logic but not sure why its not working
@mark_reddin can you please look at the above comment and see if you could help?
Sorry I was on vacation. It's also worth knowing that for questions, you can email firstname.lastname@example.org.
Your enrichment is expecting an array of strings as input, for example ["10.1.1.1"]. The enrichment you chose is called "Add An Array of Strings". That enrichment doesn't work if you pass a single string as input, for example "10.1.1.1". You can use the enrichment "Add a String" instead.
However, using an Array of Strings at the visitor level is probably not what you want to do here, since you'd end up with duplicates in that Array. You could check before you add the IP Address that the Visitor Array of Strings doesn't already contain the value you are about to add. Or you could use a different type of Visitor Attribute, Set of Strings, that behaves this way automatically. With a Set of Strings, you don't have to do this check for duplicates. Adding a value that is already present results in no change.
In either case, you'll probably also want to keep the Visitor level String as well, since that tells you the most recent IP address the visitor has used.
@mark_reddin thank you so much, it worked :)
Copyright All Rights Reserved © 2008-2023