Skip to content

Conversation

@KevinImbott
Copy link

Use CustomerIO region instead of hardcoded link

How to Tests

<!> I couldn't test from Evalmee Directly <!>

So instead i tried in console directly

  • cd lib
  • Launch ./console
  • export customerIO env variables (SITE_ID & API_KEY)
  • Do the following commands
CUSTOMERIO_CLIENT = Customerio::Client.new(ENV['CUSTOMER_IO_SITE_ID'], ENV['CUSTOMER_IO_TRACKING_API_KEY'], region: Customerio::Regions::EU)

CUSTOMERIO_CLIENT.identify_object(
       {
      object_type_id: "1",
      object_id: "666",
      },
      {
       name: "NewName",
       created_at: "school.created_at",
     },
   )

Check on customer IO to see if any changes occurs

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants