Speak to our experts today 0333 004 0333
Speak to one of our experts today
User Guides

EKM Tag: [ekm:ipaddress]

This tag is used to output the current user's ip address onto the page. This is typically used on contact forms where you want to be able to check the origin of an email.

  • Tag Information
  • Nesting This Tag
Basic Use
The tag will output, in plain text, the current users ip address.

[ekm:ipaddress][/ekm:ipaddress]
                                
This outputs the following.
172.192.240.10

The EKM system allows for some tags to be nested within other tags.

Nesting This Tag

When nesting this tag you do not need to make any changes to it. It can be inserted into other tags like below.


[ekm:showdata]
    ...
    output_item='[ekm:ipaddress][/ekm:ipaddress]';
    ...
[/ekm:showdata]