From 20cc0309b0035fe9266dca78ec6589f0e2bf2085 Mon Sep 17 00:00:00 2001 From: Tung Vu <53031642+tung-vu-td@users.noreply.github.com> Date: Mon, 15 Jul 2024 11:15:26 +0700 Subject: [PATCH] Correct README Auto tracking device IP section codes (#90) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 641a9e9..8b4fdcd 100644 --- a/README.md +++ b/README.md @@ -490,13 +490,13 @@ It outputs the following column names and values: Device IP will be added to each event automatically in `td_ip` column if you call `enableAutoTrackingIP`. Note that the tracked IP address is the one when you upload the events to Treasure Data, not the one when you add the event. ``` -[[TreasureData sharedInstance] enableAutoTrackingIP]; +TreasureData.sharedInstance().enableAutoTrackingIP(); ``` To disable auto tracking IP: ``` -[[TreasureData sharedInstance] disableAutoTrackingIP]; +TreasureData.sharedInstance().disableAutoTrackingIP(); ``` ### Profiles API