I'm having problems with Custom Script Integration for logged in users

10 stycznia 2019 21:58

I've checked this page:


but I'm not sure how can I set up the attributes of user's that are logged in?

2 Odpowiedzi

11 stycznia 2019 11:08

When you put the code on your website it should look like that:

  window.civchat = {
    apiKey: 'YOUR_API_KEY',
    name: "",
    user_id: "",
    email: "",

10 stycznia 2019 22:35

The code you implemented for logged in users should look like:

user_id : '{{dynamic variable with user id}}'

email: '{{dynamic variable with email address}}'

{{ }} - these are references to values, which are already in your data_layers. They relate to what is on your page.