By Tony Boutemeur on Tuesday, 31 October 2017
Posted in General Issues
Replies 4
Likes 0
Views 823
Votes 0
Hello the best team,

My question is simple about Conversekit Data API.

Before Conversekit, it was:


data-es-conversations-compose
data-id="<?php echo $listing['User']['user_id'];?>"


It works again without attachment like before.

Do I need to replace by this code below? Because I tried and I have got "Guest" instead to get the owner of the ads and it's not good.


data-ck-chat
data-id="<?php echo $listing['User']['user_id'];?>"


Thank you in advance for your reply
This should be the correct way to trigger the chat composer in ConverseKit

[gist]
data-ck-chat="<?php echo $id;?>"
[/gist]
·
Tuesday, 31 October 2017 19:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

Thank you for your quick reply and for putting me on the right way.

The correct code was:


// data-id is removed
data-ck-chat="<?php echo $listing['User']['user_id'];?>">
·
Tuesday, 31 October 2017 19:26
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Tony, glad to know your issue is resolved now.
·
Tuesday, 31 October 2017 21:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post