You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
18 lines
783 B
Plaintext
18 lines
783 B
Plaintext
Token = "y0_AgAAAABdylaOAAy9KgAAAAEXh6i...";
|
|
CounterID = "98889888";
|
|
|
|
CounterStructure = New Structure;
|
|
CounterStructure.Insert("autogoals_enabled", True);
|
|
|
|
FlagsStructure = New Structure;
|
|
FlagsStructure.Insert("collect_first_party_data" , False);
|
|
FlagsStructure.Insert("measurement_enabled" , False);
|
|
FlagsStructure.Insert("use_in_benchmarks" , False);
|
|
FlagsStructure.Insert("direct_allow_use_goals_without_access", False);
|
|
|
|
CounterStructure.Insert("counter_flags" , FlagsStructure);
|
|
CounterStructure.Insert("favorite" , 0);
|
|
CounterStructure.Insert("filter_robots" , 1);
|
|
|
|
Result = OPI_YandexMetrika.UpdateCounter(Token, CounterID, CounterStructure);
|